Control Properties

The range of Properties is depend on chosen control type.

 

Key

Changable for own Controls

Changable for MI Controls

Value

Explanation

Common

Caption

haken_green_small

haken_green_small

Text, free

Caption of the control

Name

haken_green_small

 

Text, free

Specifies the unique name to access the control

Tooltip Header

haken_green_small

 

Text, free

If no value is set, then the caption value will be used

Tooltip Text

haken_green_small

 

Text, free

The tooltip text for the control

Tooltip Text disabled

haken_green_small

 

Text, free

The additional text displayed when control is disabled

Comment

haken_green_small

haken_green_small

Text, free

Specifies the comment without any functionality

Keygesture

haken_green_small

 

Combination of charcater and/or number

Specifies a single key value, which should be one of the functions keys (F1-F12) or numeric keys to execute the associated function

Keytip

haken_green_small

 

Combination of charcater and/or number

A string representing a shortcut of 1 to 3 characters for navigation in the ribbon. It should not contain any spaces, tabs or new line characters

Help ID

haken_green_small

 

Integer

The help id for the control

Calling

Calling

haken_green_small

 

Text, free

Specifies the name or the number of the calling routine

Parameter

 

haken_green_small

 

Parameter List

A comma separated parameter list can be passed with the calling. It has the same conditions for the data types as in MapBasic. The number of parameters must match with the MapBasic declaration of the sub / function. (see sample SendParameter)

Command ID

haken_green_small

 

Integer

The unique integer-key in addition to the name, for accessing the control alternatively

Drawmode

haken_green_small

 

Circle, Ellipse, Line, Point, Polygon, Polyline, Rectangle

Specifies the drawing object, with which it is digitized

Cursor

haken_green_small

 

Assortment of cursors

Specifies the key of the cursor object

Modifier keys

haken_green_small

 

True, False

The flag that specifies, whether a "rubber band" is displayed by moving the mouse whenever SHIFT, CTRL or ALT is pressed

Appearance

Type

haken_green_small

 

Tab
Group
Button
ToolButton
SplitButton
DropDownButton
...

Type of the control

Enabled

haken_green_small

 

True, False

The flag that indicates, whether the item is enabled at the program start

Visible

haken_green_small

haken_green_small

True, False

The flag that indicates, whether the item is visible at the program start

Togglebutton

haken_green_small

 

True, False

The flag that indicates, whether the button is a togglebutton

Orientation

haken_green_small

 

None
Horizontal
Vertical

The flag that specifies, whether the subitems are arranged horizontally or vertically

Icon

Small icon

haken_green_small

 

Icon-file

Specifies the name of the icon file of the small icon

Large icon

haken_green_small

 

Icon-file

Specifies the name of the icon file of the large icon

Large presentation

haken_green_small

 

True, False

The flag that indicates, whether the icon of the button is displayed large or small

Icon DLL

haken_green_small

 

Resource file (*.dll)

Specifies the name of the resource file with the icons

Requirements

Selection

haken_green_small

 

True, False, Unknown

If True: To enable the control a selection is required. Details

Editable

haken_green_small

 

True, False, Unknown

If True: To enable the control a map window with an editable layer is required. Details

Mappable

haken_green_small

 

True, False, Unknown

If True: To enable the control a mappable table or selection is required. Details

Writable

haken_green_small

 

True, False, Unknown

If True: To enable the control a writable table or selection is required. Details

Table

haken_green_small

 

Text, free

The name of the required table in conjunction with other requirements Selection/Editable/Mappable/Writable

Frontwindow

haken_green_small

 

Browser
Layout
Map

The type of a required front window to enable the control