Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.31 KB

File metadata and controls

41 lines (31 loc) · 1.31 KB

CreateGroupBox

Description

Creates a new group box control in a dialog layout.

The width of a group box is determined by the width of the longest control enclosed by the group box. The height of the group box is determined by the combined height of the enclosed controls.

While used primarily to contain and highlight related control items, group box controls can also be used to group controls for easier positioning. When used in this fashion, pass a blank string for the display text and set the frame display to FALSE.

PROCEDURE CreateGroupBox(
				dialogID : LONGINT;
				itemID   : LONGINT;
				text     : STRING;
				hasFrame : BOOLEAN);
def vs.CreateGroupBox(dialogID, itemID, text, hasFrame):
    return None

Parameters

Name Type Description
dialogID LONGINT The index of the dialog layout containing the control.
itemID LONGINT The index that will identify the control item.
text STRING The display text for the control.
hasFrame BOOLEAN Displays a border for the group box.

Remarks

A group box with out frame is used for placing and moving groups of controls.[DWG 1/20/00]

Examples

ComplexDialogLayout2

Version

Availability: from VectorWorks9.0

Category