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

TCustomControl.OnPaint

Supply your own OnPaint handler for painting the control.

Declaration

Source position: controls.pp line 2325

public property TCustomControl.OnPaint : TNotifyEvent
  read FOnPaint
  write FOnPaint;

See also

TCustomControl.Paint

  

Override this method in your derived class with your own paint handler.

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