company logo

ProjectContext :: inputContext - Control context for input area

The input control is the area, from which the application receives input entered by the user. In order to receive user input, input() might be called.

Return value:  Control context ( odabagui::ControlContext & )

ControlContext classes are created for field (ADK_Field) as well as for control (ADK_FieldControl) resources.

When referring a field resource, the field context will overload the context implemented for the subordinated field control (control context).

Implementation overview

Implementation details

  1. Get control context for input control
    odabagui::ControlContext & ProjectContext  :: inputContext (  )

    The function returns the current context for the input control. When no control has been assigned for project input, the function throws an exception. In order to avoid unnecessary exceptions, hasInputControl() might be called.

  2. to list
  3. Set control context for input control
    odabagui::ControlContext & ProjectContext  :: inputContext ( odabagui::ControlContext &cControlContext )

    The function registers the context for a (single line edit) control in order to receive user input. Usually, the function is called in the doAfterOpen() handler of the context assigned to the input control.

    Previous settings for the input control will be reset.

    • cControlContext - Control context

      ControlContext classes are created for field (ADK_Field) as well as for control (ADK_FieldControl) resources.

      When referring a field resource, the field context will overload the context implemented for the subordinated field control (control context).

  4. to list