[Overview][Types][Classes][Index] Reference for unit 'Toolwin' (#lcl)

TToolWindow

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a control which can paint its client area with borders.

Declaration

Source position: toolwin.pp line 53

type TToolWindow = class(TCustomControl)

protected

  FUpdateCount: Integer;

  

Internal counter used in BeginUpdate and EndUpdate.

  procedure AdjustClientRect(); override;

  

Adjusts the client rectangle when borders are drawn for the control.

  procedure Paint; override;

  

Draws the control with the borders and style needed.

public

  constructor Create(); override;

  

Constructor for the class instance.

  procedure BeginUpdate; virtual;

  

Increments the internal counter for buffering calls to Update.

  procedure EndUpdate; virtual;

  

Decrements the internal counter for buffering calls to Update.

  property EdgeBorders: TEdgeBorders; [rw]

  

Indicates the edges to be drawn with a border on the control.

  property EdgeInner: TEdgeStyle; [rw]

  

Specifies the drawing style used for the inner border of the control.

  property EdgeOuter: TEdgeStyle; [rw]

  

Specifies the drawing style used for the outer border of the control.

end;

Inheritance

TToolWindow

  

Implements a control which can paint its client area with borders.

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TToolWindow is a TCustomControl which supports sizing and drawing its client area with borders. TToolWindow contains properties used to specify the borders (inner and outer) for the control. Methods are provided which adjust the client rectangle for the control, and paint the control to its canvas handle with the desired border edges and style.

TToolWindow is the ancestor for TToolBar and TCoolBar.

See also

TCustomControl

  

The base class for windowed controls which paint themselves.

TToolbar

  

Implements an application tool bar with buttons or other visual controls.

TCustomCoolbar

  

Defines a Rebar-like control with resizable bands.

TCoolbar

  

Implements a Rebar-like control with resizable bands.


Version 3.2 Generated 2024-02-25 Home