Implements an OnChangeBounds event handler assigned to the Associate control in the class instance.
Source position: comctrls.pp line 1969
protected procedure TCustomUpDown.OnAssociateChangeBounds( |
Sender: TObject |
); |
Sender |
|
Control for the event notification. Not used in the method. |
OnAssociateChangeBounds ensures that the control is repositioned and realigned to the Associate control when its bounds have been changed.
The AlignButton property is used to determine which coordinates (Left, Right, Width, or Height) are adjusted to align and position the control adjacent to the Associate control.
SetBounds is called to apply the calculated Left, Top, Width, and Height values to the control.
No actions are performed in the method if a control has not been assigned to the Associate property in the class instance.
OnAssociateChangeBounds is assigned when a control is assigned to the Associate property.
|
AlignButton - how to align the button: left or right. |
|
|
Control used to display and edit the Position for the control. |
|
|
Contains values used to align the buttons on a TUpDown control. |
|
|
Sets the control bounds and adjusts child and docked controls. |
|
|
The horizontal size for the control. |
|
|
The vertical size for the control. |
|
|
The client coordinate with the left edge for the control. |
|
|
The client coordinate for the top edge of the control. |
CT Web help |
CodeTyphon Studio |