mode_tile

(mode_tile key mode)

The mode_tile function sets a specified mode for a dialog box tile.

Arguments

key is a string specifying a unique name of the dialog control tile.

mode specifies the mode for the tile, based on one of the following positive integers:

Mode Meaning
0 Make dialog box tile selectable
1 Make dialog box tile not available
2 Set focus to the dialog box tile
3 Select entry of a dialog box edit tile
4 Toggle highlighting of dialog box tile on/off
Return Value

The function always returns nil.

Examples

: (mode_tile "edit1" 0)

nil

: (mode_tile "edit1" 3)

nil

Related Functions

action_tile, get_tile, set_tile, get_attr, client_data_tile