| Search Locate Previous Next | Contents |
Description
This is the normal starting point for an application or simple dialogue box. Styles can be used to get special effects, such as Banner for welcome screens.
Caption is simply the title bar. You can also use the Titlebar property.
Style might be Dbx for dialogue boxes
Titlebar resets the form titlebar if used, typically on loading a new file.
Menu is a Menu Structure which is used to build the menu for the form
To intercept a users request to close the form, use an action on the CL=Close Request. If this returns zero, the form will not close.
Class Property Table
| Name | Type | Default | Description |
| Locals | NameList | Local variables | |
| Style | ManyOf | ||
| Centred | Bool | Centre on screen | |
| TopLevel | Bool | Made as a top-level form | |
| Minsize | Numlist | Ð | Minimum size (height,width) in pixels |
| Titlebar | Runtime | Form Titlebar (text vector) | |
| Menu | Runtime | Menu structure | |
| Artwork | Runtime | For menu images (16×16n integer array of bitmap data) | |
| Topform | User | Active MDI or Tabbed child |
Class-specific Events
| PC | Post-Create |
| NM | New Menu |
| WA | Wake-up Call |
| CL | Close Request |
Class-specific Functions
| Check | Tick named menuitem |
| Uncheck | Uncheck named menuitem |
| IsChecked | Report if menu items with this id are checked |
| IsEnabled | Report if menu items with this id are enabled |
| Id | Return the Gui names of all menu items with this id |
| SetMenuCap | Reset menu caption(s) of matching items |
| SetMenuImages | Set image indexes for one or more named menu items |
| Maximize | Maximize form |
| Minimize | Iconise form |
| Restore | Return to normal |
| Cascade | MDI cascade |
| Arrange | MDI icon arrange |
| Htile | MDI Horizontal Tile |
| Vtile | MDI Vertical Tile |
| SetIcon | Set System/Minimised Icon |
| Tips | Turn bubble help off/on |
| Wait | Show hourglass (Wait 1 disables all controls) |
| Ready | Cancel wait |