Links
EControl Form Designer Pro
TCustomBtnPanel Class

TCustomBtnPanel is the base class for panels with button array.

TCustomBtnPanel = class(TCustomPanel);

ecBtnPanel

Buttons are not controls. This class was created to optimize rendering of big buttons array, for example, in component palette.

Topic 
Description 
The methods of the TCustomBtnPanel class are listed here. 
The properties of the TCustomBtnPanel class are listed here. 
The events of the TCustomBtnPanel class are listed here. 
 
Method 
 
protected 
 
virtual 
 
Property 
 
Event 
TCustomBtnPanel Events 
Description 
Occurs when the user clicks the button on the underlying panel. 
Occurs when a particular button on the panel needs to be drawn. 
Occurs before hint window will be displayed. 
TCustomBtnPanel Methods 
Description 
Returns the index of the button indicated by the coordinates of a point on the panel. 
Generates an OnButtonClick event. 
Indicates the rectangle occupied by the particular button. 
Specifies whether the TCustomBtnPanel sizes itself automatically to accommodate its contents. 
Creates and initializes a TCustomBtnPanel instance. 
Destroys an instance of TCustomBtnPanel. 
Generates an OnDrawButton event. 
Returns hint text for the particular button. 
Repaints just pushed and released buttons. 
Finally initializes the TCustomBtnPanel after it is loaded from a stream. 
Calls ButtonClick method. 
Renders the image of a TCustomBtnPanel. 
TCustomBtnPanel Properties 
Description 
Specifies whether the TCustomBtnPanel sizes itself automatically to accommodate its contents. This is inherited property from TControl. 
Indicates the number of buttons in the array. 
Specifies the height of the buttons in array. 
Specifies the width of the buttons in array. 
Specifies a text string that identifies the control to the user. This is inherited property from TControl. 
Specifies index of pressed button. 
Flat 
Dictates whether the button should have a 2D look instead of the usual 3D look. 
Provide properties to adjust hints processing. 
Specifies positioning of button array 
Specifies whether the panel's array of button is horizontal or vertical. 
Indicates the number of button rows in the panel. 
Specifies whether the background of the button is transparent. 
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!