Download Now

    Reference TDrawPanel

    Declared in Codebot.Controls.Extras.pas on line 163

    TDrawPanel is a windowed control which draws nothing on its own. Use OnDraw to draw on its surface.
      TDrawPanel = class(TSurfaceCustomControl)
      protected
        procedure Draw; override;
      public
        { Create a new draw panel }
        constructor Create(AOwner: TComponent); override;
      published
        property OnDraw;
        property Align;
        property Anchors;
        property BorderSpacing;
        property Constraints;
        property DragCursor;
        property DragMode;
        property Enabled;
        property ParentShowHint;
        property PopupMenu;
        property ShowHint;
        property TabStop;
        property Visible;
        property OnChangeBounds;
        property OnClick;
        property OnDblClick;
        property OnDragDrop;
        property OnDragOver;
        property OnEndDrag;
        property OnEnter;
        property OnExit;
        property OnMouseDown;
        property OnMouseEnter;
        property OnMouseLeave;
        property OnMouseMove;
        property OnMouseUp;
        property OnMouseWheel;
        property OnMouseWheelDown;
        property OnMouseWheelUp;
        property OnResize;
        property OnStartDrag;
      end;

    See also

    TSurfaceCustomControl in Codebot.Controls.pas