The range of Properties is depend on chosen control type.
Key |
Changable for own Controls |
Changable for MI Controls |
Value |
Explanation |
Common |
||||
Caption |
Text, free |
Caption of the control |
||
Name |
|
Text, free |
Specifies the unique name to access the control |
|
Tooltip Header |
|
Text, free |
If no value is set, then the caption value will be used |
|
Tooltip Text |
|
Text, free |
The tooltip text for the control |
|
Tooltip Text disabled |
|
Text, free |
The additional text displayed when control is disabled |
|
Comment |
Text, free |
Specifies the comment without any functionality |
||
Keygesture |
|
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 |
|
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 |
|
Integer |
The help id for the control |
|
MaxIndex |
|
True, False |
Add this control in the last position |
|
Icon |
||||
Large icon |
|
Icon file / name |
Specifies the icon 32x32 px. Icons can be used from the MapInfo Resource DLL, your own Resource DLL or the file system. |
|
Small icon |
|
Icon file / name |
Specifies the icon 16x16 px. Icons can be used from the MapInfo Resource DLL, your own Resource DLL or the file system. |
|
Large presentation |
|
True, False |
The flag that indicates, whether the icon of the button is displayed large or small |
|
Calling |
||||
Calling |
|
Text, free |
Specifies the name of the MapBasic calling routine.
To call MapInfo functions the function ID can be used directly |
|
Parameter |
|
|
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 |
|
Integer |
The unique integer-key in addition to the name, for accessing the control alternatively |
|
RunComand |
|
Text |
MapBasic commands can be executed directly - without separate calling |
|
Drawmode |
|
Circle, Ellipse, Line, Point, Polygon, Polyline, Rectangle |
Specifies the drawing object which it is digitized |
|
Cursor |
|
Assortment of cursors |
Specifies the key of the cursor object |
|
DLL Cursor |
|
|
|
Specifies the name of the resource file. If no resource file is specified, the MapInfo resource is used. |
Modifier keys |
|
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 |
|
•Tab •Group •Button •ToolButton •SplitButton •DropDownButton •... |
Type of the control |
|
Enabled |
|
True, False |
The flag that indicates, whether the item is enabled at the program start |
|
Visible |
True, False |
The flag that indicates, whether the item is visible at the program start |
||
Togglebutton |
|
True, False |
The flag that indicates, whether the button is a togglebutton |
|
Orientation |
|
•None •Horizontal •Vertical |
The flag that specifies, whether the subitems are arranged horizontally or vertically |
|
Requirements |
||||
Selection |
|
True, False, Unknown |
If True: To enable the control a selection is required. Details |
|
Editable |
|
True, False, Unknown |
If True: To enable the control a map window with an editable layer is required. Details |
|
Mappable |
|
True, False, Unknown |
If True: To enable the control a mappable table or selection is required. Details |
|
Writable |
|
True, False, Unknown |
If True: To enable the control a writable table or selection is required. Details |
|
Table |
|
Text, free |
The name of the required table in conjunction with other requirements Selection/Editable/Mappable/Writable. To set "any table" choose the wildcard * |
|
Frontwindow |
|
•Browser •Layout •Map |
The type of a required front window to enable the control |