[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The border style affects the title bar, border, icon(s), and resize behavior for the form.
Source position: forms.pp line 770
public property TCustomForm.BorderStyle : TFormBorderStyle |
BorderStyle is a TFormBorderStyle property used to control the appearance of the border on a form. The default value is bsSizeable and displays the standard border for a sizeable window. But it could, for example, be a dialog form or a tool window, or could be non-sizeable. See TFormBorderStyle for the enumeration values allowed in the property and their meanings.
Changing the value for the property causes other properties in the form instance to be updated:
In TCustomForm (and TForm), BorderStyle is slightly different (has a different base type) from the TCustomControl.BorderStyle property. When the form is put into another control the window borders depend on the widgetset. There are no borders under GTK.
|
Indicates if the form can automatically show or hide scroll bars. |
|
|
The Icon associated with this Form (in minimized state). |
|
|
Returns (and optionally creates) the Handle for the small Icon used for the form. |
|
|
Returns the handle for the large icon on the form or in the application. |
|
|
Handles the CM_ICONCHANGED control message for the form. |
|
|
The main menu for the form instance. |
|
|
Represents border styles available for a Form. |
|
|
Possible types of borders (with or without border). |
|
|
Indicates the border style displayed around the control. |
Version 4.0 | Generated 2025-05-03 | Home |