Reference TCustomWidget
Declared in Codebot.Render.Widgets.pas on line 1269
TCustomWidget is a widget which draws itself in OnPaint, or in Paint when a descendant overrides it
TCustomWidget = class(TWidget)
protected
procedure Paint(Stage: TPaintStage); override;
public
{ OnPaint fires when the widget should draw itself }
property OnPaint: TNotifyEvent read FOnPaint write FOnPaint;
property OnClick;
property OnKeyDown;
property OnMouseDown;
property OnMouseMove;
property OnMouseUp;
end;