Control GroupBox clause - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

Purpose

Part of a Dialog statement; adds a rectangle with a label to a dialog box.

Syntax

Control GroupBox 
	[ Position x, y ] [ Width w ] [ Height h ] 
	[ ID control_ID ] 
	[ Title title_string ] 
	[ Hide ] 

x, y specifies the control's position in dialog box units.

w specifies the width of the control in dialog box units.

h specifies the height of the control in dialog box units.

control_ID is an integer; cannot be the same as the ID of another control in the dialog box.

title_string is a text string to appear at the upper-left corner of the box

The Hide keyword makes the control hidden initially.

Example

Control GroupBox 
	Title "Level of Detail" 
	Position 5, 30
	Height 40 Width 70

See Also:

Alter Control statement, Dialog statement