Download Now
Forums

    Reference TPaintBox

    Declared in Codebot.Render.Widgets.pas on line 1315

      TPaintBox = class(TWidget)
      protected
        procedure Paint(Stage: TPaintStage); override;
      public
        constructor Create(Parent: TWidget; const Name: string = ''); override;
        { OnPaint fires when the paint box should be drawn }
        property OnPaint: TPaintEvent read FOnPaint write FOnPaint;
        property OnClick;
        property OnKeyDown;
        property OnMouseDown;
        property OnMouseMove;
        property OnMouseUp;
      end;

    See also