Initializing a tile can include the following:
mode_tile calls. You can set the value of a tile by using set_tile.These operations are performed by
To display a default valueâ€”such as a surnameâ€”in an edit box and set the dialog box's initial focus to that box, use the following code:
(setq name_str "Kenobi") ; Default.
(set_tile "lastname" name_str) ; Initializes field.
(mode_tile "lastname" 2) ; 2 sets focus to tile.
mode_tile call can highlight all the contents of an edit box, so the user has the option to type immediately over the default contents, as shown in the following example:An additional
(mode_tile "lastname" 3) ; 3 selects box contents.