GroupBox control
A GroupBox is a box used to group related controls.
For example, you can use a GroupBox to group a series of RadioButtons
or CommandButtons. The user cannot select the GroupBox but can select
controls within the GroupBox. If the GroupBox contains RadioButtons,
the user can select only one RadioButton in the GroupBox at a time.
When you hide or show a GroupBox, PowerBuilder does not automatically hide
or show the controls in the GroupBox.
Properties
GroupBox property |
Datatype |
Description |
---|---|---|
String |
A description of the control and/or |
|
String |
A label that briefly describes the control, |
|
AccessibleRole (enumerated) |
Describes what kind of user interface |
|
Long |
Specifies the numeric value of the background |
|
BorderStyle (enumerated) |
Specifies the style of the border of
|
|
Boolean |
Specifies whether PowerBuilder moves |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Boolean |
Specifies whether PowerBuilder puts the
|
|
String |
Specifies the name of the stock icon When the user drags the control, the icon displays when the control |
|
Boolean |
Specifies whether the text of the GroupBox
|
|
String |
Specifies the name of the typeface in |
|
FontCharSet (enumerated) |
Specifies the font character set used |
|
FontFamily (enumerated) |
Specifies the font family (type style)
|
|
FontPitch (enumerated) |
Specifies the pitch (spacing) of the
|
|
Integer |
Specifies the height of the control, |
|
Boolean |
Indicates whether the text in the control
|
|
String |
Specifies the name of the stock pointer |
|
Boolean |
Specifies that characters should be displayed
|
|
Integer |
Specifies the tab value of the control |
|
String |
Specifies the tag value assigned to the |
|
String |
Specifies the text that displays in the |
|
Long |
Specifies the numeric value of the color |
|
Integer |
Specifies the size of the text in the |
|
Boolean |
Indicates whether the text in the control
|
|
Boolean |
Specifies whether the control is visible.
|
|
Integer |
Specifies the stroke weight of the text |
|
Integer |
Specifies the width of the control, in |
|
Integer |
Specifies the X position (the distance |
|
Integer |
Specifies the Y position (the distance |
Events
GroupBox event |
Occurs |
---|---|
Immediately before the Open event occurs |
|
Immediately after the Close event occurs |
|
When the user presses the F1 key or drags |
|
When a Windows message occurs that is |
Functions
GroupBox function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the control. |
|
Integer |
Starts or ends the dragging of the control. |
|
Integer |
Creates a reference to a context-specific |
|
PowerObject |
Returns a reference to the name of the |
|
Integer |
Makes the control invisible. |
|
Integer |
Moves the control to a specified location. |
|
Integer |
Returns the distance of the pointer from |
|
Integer |
Returns the distance of the pointer from |
|
Boolean |
Adds an event to the end of the message |
|
Integer |
Prints the control. |
|
Integer |
Changes the size of the control. |
|
Integer |
Sets focus to the specified control. |
|
Integer |
Specifies the position of the control |
|
Integer |
Controls automatic redrawing of the control |
|
Integer |
Makes the control visible. |
|
Integer |
Triggers the specified event in the control |
|
Object |
Returns the type of the control. |