Please enable JavaScript to view this site.

Ribbon: Ribbon Designer SDK > The Designer

Control Properties

Scroll Prev Top Next

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

MaxIndex

haken_green_small

 

True, False

Add this control in the last position

Icon

Large icon

haken_green_small

 

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

haken_green_small

 

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

haken_green_small

 

True, False

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

Calling

Calling

haken_green_small

 

Text, free

Specifies the name of the MapBasic calling routine.

 

To call MapInfo functions the function ID can be used directly

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

RunComand

haken_green_small

 

Text

MapBasic commands can be executed directly - without separate calling

Drawmode

haken_green_small

 

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

Specifies the drawing object which it is digitized

Cursor

haken_green_small

 

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

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

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. To set "any table" choose the wildcard *

Frontwindow

haken_green_small

 

Browser

Layout

Map

The type of a required front window to enable the control