Condividi tramite


SET CONFIRM Command

Specifies whether the user can exit a text box by typing past the last character in the text box.

SET CONFIRM ON | OFF

Parameters

  • ON
    Specifies that the user cannot exit a text box by typing past the last character in the text box. To exit the text box, the user can press ENTER, TAB, or any of the arrow keys to move from a text box to another control.

    SET CONFIRM ON also affects menu items and menu titles created with DEFINE BAR and DEFINE PAD. If the user types the first letter of the menu item or menu title, the item or title is selected but is not chosen. To choose the menu item or title when it is selected, the user should press ENTER or the SPACEBAR.

  • OFF
    Specifies that the user can exit a text box by typing past the last character in the text box. The insertion point, when it reaches the last character in a text box, moves to the next control, and the bell is sounded (if SET BELL is set to ON).

    OFF is the default value of SET CONFIRM.

    SET CONFIRM OFF also affects menu items and menu titles. If SET CONFIRM is set to OFF, the user can choose an item from a menu or a menu title in a menu bar by pressing the key corresponding to the first letter of the menu item or title. (When SET CONFIRM is set to ON, this action only selects the menu item or title.)

Remarks

SET CONFIRM has no effect on access keys for menu items and menu titles. If a menu item or menu title is created with an access key, the menu item or title can be chosen by pressing the corresponding access key.

You can create text boxes using the Form Designer.

SET CONFIRM is scoped to the current data session.

See Also

TextBox Control | SET DATASESSION | Form Designer