Contents Up Previous Next

Creating a dialog box

Left-click on the dialog box icon on the object palette, and left-click again on the object editor canvas, or choose New dialog from the Edit menu. The dialog box properties editor will be shown, with the following controls.

Name
The name of this dialog box instance.
Description
A textual description of the dialog box.
Class name
The name of the C++ class that will be created for this dialog box.
Title
The default title for the dialog box.
Width
The width of the dialog box.
Height
The width of the dialog box.
Fit contents
If checked on, the panel will fit itself to its contents.
Horizontal labels
If checked on, the default labelling orientation is horizontal, otherwise it is vertical.
Label font
The name of the font to be used for panel item labels. The font should have been created previously using the font manager, accessible from the GDI menu.
Button font
The name of the font to be used for panel item contents.