Menus and Dialog Boxes: 4.4 Supplemental Usage: Managing Input

Up: GEOS SDK TechDocs | Up | Prev: 4.3 Modality for Dialogs | Next: 4.5 Thread Blocking Routines
ATTR_GEN_INTERACTION_OVERRIDE_INPUT_RESTRICTIONS, ATTR_GEN_INTERACTION_ABIDE_BY_INPUT_RESTRICTIONS, HINT_INTERACTION_DEFAULT_ACTION_IS_NAVIGATE_TO_NEXT_FIELD

Typically, specific UIs will determine how input (primarily keyboard input) affects GenInteractions and their components. For example, many UIs will have the Tab key navigate from the active component of a dialog box to the next available component.

HINT_INTERACTION_DEFAULT_ACTION_IS_NAVIGATE_TO_NEXT_FIELD allows you to trade the normal "default action" (the action typically causing the dialog to send its "apply" message) for navigation. For example, if hitting the return key normally invoked an "Apply" trigger, this hint would instead cause it to navigate to the next field in the dialog box.

Two other attributes allow a GenInteraction to either disobey or abide by certain default input restrictions (modality, input hold-up, input ignore, and busy states). ATTR_GEN_INTERACTION_OVERRIDE_INPUT_RESTRICTIONS allows the GenInteraction to override the input restrictions; ATTR_GEN_INTERACTION_ABIDE_BY_INPUT_RESTRICTIONS allows the GenInteraction to override default behavior ignoring those restrictions.


Up: GEOS SDK TechDocs | Up | Prev: 4.3 Modality for Dialogs | Next: 4.5 Thread Blocking Routines