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.
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
- Get control context for input control
ProjectContext :: inputContext (  ) - Set control context for input control
ProjectContext :: inputContext ( cControlContext )
Implementation details
-
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.
to list
-
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).
to list
- cControlContext
- Control context