mode_tile


(mode_tile  dclKey  mode)

This function modifies the state of the DCL tile dclKey using mode state value.

Arguments

dclKey  string, specifies the DCL tile by its key string (note : the key string is case-sensitive)

mode  integer, specifies the state to be applied

0   enables the specified DCL tile
1   disables the specified DCL tile
2   sets the focus to the specified DCL tile
3   selects the edit box content
4   flips the image highlighting

Return

always returns NIL

Example

(mode_tile "abort" 1)
(mode_tile "save" 0)
(mode_tile "save" 2)

Remarks

DCL key strings are case-sensitive;
it is allowed to modify any DCL tile from inside a DCL callback function, including the DCL tile which triggered the callback event



©  Bricsys NV. All rights reserved.