BorderStyle
The Win32 frame style used by a WaynesForm window. Determines whether the window has a thick or thin border, whether it can be resized by dragging an edge, and whether it shows a normal title bar or the smaller tool-window title bar. Used by WindowsFormOptions.BorderStyle.
| Constant | Value | Description |
|---|---|---|
| tbNone | 0 | No border at all — the form is a borderless, captionless rectangle. |
| tbFixedSingle | 1 | Thin single-line border; size is fixed at run time. |
| tbFixedSizable | 2 | Standard resizable border with a normal title bar. The default for newly-constructed WindowsFormOptions. |
| tbFixedDialog | 3 | Dialog-frame border; size is fixed. |
| tbFixedToolWindow | 4 | Tool-window border with the smaller title bar; size is fixed. |
| tbSizableToolWindow | 5 | Tool-window border with the smaller title bar; the window is resizable. |
The Minimize and Maximize buttons that MinimizeButton and MaximizeButton ask for are shown by tbFixedSingle, tbFixedSizable and tbFixedDialog. The two tool-window styles show only a Close button, and tbNone has no title bar at all.
Six forms, one in each style, each with MinimizeButton and MaximizeButton set to True:
