[Overview][Types][Classes][Procedures and functions][Index] |
Handles the CM_BORDERCHANGED message.
Source position: extctrls.pp line 1623
protected procedure TCustomControlBar.CMBorderChanged( |
var Message: TLMessage |
); message; |
Message |
|
Control message handled in the method. |
CMBorderChanged calls the inherited method on entry to adjust the client rectangle and control size when a border is added to or removed from the control.
CalcInnerBevelWidth is called to get the space reserved for the settings in BevelInner and BevelOuter. If the calculated value differs from the previous value, the Top coordinate for each of the TCtrlBand instances on the control are shifted to their new positions. AlignControlsToBands is called to align the controls for the bands to their new positions. If IsRightToLeft returns True, the Left coordinate in each of the bands is also shifted.
|
Calculates the cumulative width for all borders and bevels used on the control bar. |
|
|
Container used to store TCtrlBand instances. |
|
|
Contains the Top position for the band. |
|
|
Contains the Left position for the band. |
|
|
Handles a CM_BORDERCHANGED message received for the control. |
|
|
True when BiDiMode is not bdLeftToRight. |
Version 4.0 | Generated 2025-05-03 | Home |