[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TGraphicControl.OnPaint

Supply your own OnPaint handler for painting the control.

Declaration

Source position: controls.pp line 2296

protected property TGraphicControl.OnPaint : TNotifyEvent
  read FOnPaint
  write FOnPaint;

See also

TGraphicControl.Paint

  

Override this method with your own painting code.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.