image_button

: image_button


Display an image on a button.     DCL Active Tile


This active tile displays an image on a button. This function returns the x,y coordinates of the user's pick point.

For this tile, you must specify both the height and width attributes, or specify the aspect_ratio attribute along with either height or width (but not with both attributes).

Valid Attributes

: image_button {

          action = "(string)";

          alignment = position;

          allow_accept = flag;

          aspect_ratio = real;

          color = clr;

          fixed_height = flag;

          fixed_width = flag;

          height = number;

          is_enabled = flag;

          is_tab_stop = flag;

          key = "string";

          label = "string";

          mnemonic = "char";

          width = number;

}

Example

: image_button {

          aspect_ratio = 1.33;

          height = 2;

          action = "(fontlsp)";

          key = "FN";

}

Related DCL Tiles

button

edit_box

list_box

popup_list

radio_button

slider

toggle

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes