ResCompiler: Check Box Controls (Superseded)
ResCompiler has been superseded. See Converting .brc Files to .arc Format instead.
BBj-Specific Information
In BBj, the entire contents of checkboxes and radio buttons are aligned. In BBx, only the label is aligned and the check box or radio button remains left justified. In BBj, the check box or radio button is aligned along with the label.
General Information
The following lists the mandatory properties for check box controls:
Check Box Control Mandatory Properties
Checkbox control-id "title" x y width height
|
Property |
Description |
|---|---|
|
checkbox |
Identifies the control as a check box control. |
|
control-id |
Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window. |
|
"title" |
Title of the control, contained in quotation marks. |
|
x |
Horizontal position of the upper-left corner of the control in current units. |
|
y |
Vertical position of the upper-left corner of the control in current units. |
|
width |
Width of the control in current units. |
|
height |
Height of the control in current units. |
The Resource Properties Index identifies and describes the optional properties for this control.
-
Backgroundcolor
-
Checked
-
Clientedge
-
Disabled
-
Font
-
Foregroundcolor
-
Group
-
Initialcontents
-
Invisible
-
Justification
-
Longcue
-
Name
-
Opaque
-
Popupmenuid
-
Raisededge
-
Recordfield
-
Shortcue
-
Textleft
-
Title
Example
The following example contains a window with two check box controls: the first contains only the mandatory definitions, and the second contains optional settings.
|