[Overview][Constants][Types][Classes][Procedures and functions][Index] |
If True, the font size is adjusted for optimal fill of the available space.
Source position: stdctrls.pp line 1602
protected property TCustomLabel.OptimalFill : Boolean |
OptimalFill is a Boolean property which indicates that the Font height should be maximized to fill the available width in the control. The default value for the property is False.
Setting OptimalFill to True causes AutoSize to be set to False. The AdjustFontForOptimalFill method is called to get and apply the maximum font height allowed for the Width and Height in the control.
Changing the value for the property causes Invalidate to be called to redraw the control.
|
Enables or disables auto-sizing the control to its content. |
|
|
Adjusts the font height for the control text to fill the available client area. |
|
|
The horizontal size for the control. |
|
|
The vertical size for the control. |
|
|
The font to be used for text display in this control. |
|
|
Causes a delayed Repaint of the control by marking its visible area of the control as invalid. |
Version 3.2 | Generated 2024-02-25 | Home |