ResBuilder: Defining Form and Child Window Properties via the Properties Page (Superseded)
ResBuilder has been superseded by the FormBuilder module in the BASIS IDE for BBj. ResBuilder is no longer included in the BBj download package as of version 12.0 but can be downloaded with Visual PRO/5.
To define properties for forms and child windows, do the following:
-
Click the form or child window, then do one of the following:
-
On the Main toolbar, click Properties.
-
On the tree view, right-click the form or child window's icon to display the context-sensitive menu, then click Properties.
-
In the tree view, double-click the form or child window's icon.
-
-
The form or child window's property page, then appears.
Properties pages are used to set properties for the selected item and are organized into four property types, as identified below. Each property type is described under Property Types.
-
In the Value column of the properties page, define the form or child window properties:
-
To define string properties, enter a text string.
-
To define integer properties, enter a numeric value.
-
To define list properties, click the list button and click the desired property.
-
To define dialog properties, click the ellipsis icon to display the appropriate Windows dialog.
-
-
To display help for properties page entries, click anywhere within the Value and press F1.
Click the Form or Child Window link to display property descriptions.
Form and Child Window Dialogs
Form Flags
|
Flag |
Description |
|---|---|
|
Always on top |
Always positions the window on top of other windows. |
|
Close box |
Creates a window close box. |
|
Custom color palette |
Allows use of a custom color palette. |
|
Dialog behavior |
Sets the window to behave as a dialog. |
|
Dialog border |
Creates a border around the dialog. |
|
Disabled |
Sets the form to be initially disabled. |
|
Enter as tab |
Sets the Enter key to behave as a Tab key. |
|
Gravity |
Arranges child windows to fit within the parent window. |
|
Horizontal scroll bar |
Creates a horizontal scroll bar. |
|
Initially maximized |
Sets the window to be initially maximized. |
|
Initially minimized |
Sets the window to be initially minimized. |
|
Invisible |
Sets the window to be initially invisible. |
|
Keyboard Navigation |
Activates keyboard navigation in the window. |
|
Manage syscolor events |
Sets the window to automatically manage SYSCOLOR events. |
|
Minimizable |
Allows the window to be minimized. |
|
No menubar line |
Prevents the separator line between the menu and client area of a window from being drawn. |
|
No title bar |
Creates the window without a title bar. |
|
Sizable |
Allows the window to be resized. |
|
Vertical scroll bar |
Creates a vertical scroll bar. |
Child Window Flags
|
Flag |
Description |
|---|---|
|
Client edge |
Draws a recessed client edge around the child window. |
|
Disabled |
Sets the child window to be initially disabled. |
|
Enter as tab |
Sets the Enter key to behave as a Tab key. |
|
Gravity |
Arranges child windows to fit within the parent window. |
|
Horizontal scroll bar |
Creates a horizontal scroll bar. |
|
Invisible |
Sets the window to be initially invisible. |
|
Keyboard Navigation |
Activates keyboard navigation in the window. |
|
No border |
Prevents a border from being drawn around the child window. |
|
Raised Edge |
Draws a raised client edge around the child window. |
|
Vertical scroll bar |
Creates a vertical scroll bar. |
Form Event Mask
Set All checks all check boxes in this dialog. Clear All clears all check boxes in this dialog.
|
Mask |
Event(s) Reported |
|---|---|
|
Activate |
Window activation. |
|
Check |
Check box or radio button check or uncheck. |
|
Control Focus |
Gain or loss of focus on the following types of controls: button, radio button, check box, edit, list button, list edit, and custom edit. |
|
Edit or list edit modify |
Modification of edit and list edit control contents. |
|
Focus |
Gain or loss of window focus. |
|
Key press |
Key press. |
|
List click |
List item (contained in a list box, list button, or list edit control) click or double-click. |
|
Mouse double click |
Mouse button double-click. |
|
Mouse down |
Mouse button press. |
|
Mouse enter/exit |
Mouse enter or exit the window or control event |
|
Mouse move |
Mouse movement. |
|
Mouse up |
Mouse button release. |
|
Popup request |
Request a popup menu on a control event. |
|
Resize |
Window resize. |
|
Right mouse down |
Mouse right button down. |
|
Scroll bar thumb move |
Movement of the scroll bar thumb via the mouse. |
|
Scroll position |
Movement of the scroll bar thumb via clicking the scroll bar arrows. |
|
System event |
System events. |
Child Window Event Mask
Set All checks all check boxes in this dialog. Clear All clears all check boxes in this dialog.
|
Mask |
Event(s) Reported |
|---|---|
|
Activate |
Window Activation. |
|
Check |
Check box or radio button check or uncheck. |
|
Edit or list edit focus |
Gain or loss of edit or list edit control focus. |
|
Edit or list edit modify |
Modification of list edit control contents. |
|
Focus |
Gain or loss of window focus. |
|
Key press |
Key press. |
|
List click |
List item click or double-click. |
|
Mouse double click |
Mouse button double-click |
|
Mouse down |
Mouse button press. |
|
Mouse enter/exit |
Mouse enter or exit the window or control event |
|
Mouse move |
Mouse movement. |
|
Mouse up |
Mouse button release. |
|
Popup request |
Request a popup menu on a control event. |
|
Right mouse down |
Mouse right button down. |
|
Scroll bar thumb move |
Movement of the scroll bar thumb via the mouse |
|
Scroll position |
Movement of the scroll bar thumb via clicking the scroll bar arrows. |
|
System event |
System events. |