Click or drag to resize

GroupBox Class (Typed)

X#
Create a group box, which can be used to group related controls together.
Inheritance Hierarchy
Object
  VObject
    Control
      TextControl
        GroupBox
          RadioButtonGroup

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.24 GA
Syntax
[TypesChangedAttribute]
 CLASS GroupBox INHERIT TextControl
Request Example View Source

The GroupBox type exposes the following members.

Constructors
  NameDescription
Public methodGroupBox
Construct a group box.
Top
Properties
  NameDescription
Public propertyCurrentText
This property is provided to override the inherited functionality from the TextControl class, as it does not apply to group boxes.
(Overrides CurrentText.)
Top
Functions
  NameDescription
Public methodAsString
Return an identifying label for the group box.
(Overrides AsString.)
Public methodTimer
Provide a method to be invoked at specific intervals defined when the timer is registered though the RegisterTimer() method.
(Overrides Timer.)
Top
Remarks
A group box is a single-line box with an appropriate title to identify the nature of the group. It should be drawn around the related controls on the surface of a window and can contain a single or several sets of choices. Use the Init() method from TextControl to create a group box. Also, the title of a group box can be changed using the TextValue assign method of TextControl.
Tip Tip
CUA Style: According to CUA guidelines, you should not use group boxes for a set of one or more push buttons or list boxes. Rather, a group box would be more useful in a "Print File" dialog, for example, where a number of options—like a "Copies" edit control and a "Print Color" check box—can be grouped together.
See Also