GUIBaseContext :: highContext - Get parent context instance
The function returns the next higher context depending on its name or type.
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 parent context
GUIBaseContext :: highContext (  ) - Get high context by name
GUIBaseContext :: highContext ( sResource ) - Get high context by name and type
GUIBaseContext :: highContext ( sResource, eContextType ) - Get high context by type
GUIBaseContext :: highContext ( eContextType )
Implementation details
-
Get parent context
odabagui::ControlContext & GUIBaseContext  :: highContext (  )
The function returns the next higher context (parent context) regardless of its name or type.
to list
-
Get high context by name
odabagui::ControlContext & GUIBaseContext  :: highContext ( odaba::String &sResource )
The function returns the next higher context with the given resource name (field or window name).
- sResource
- Name of resoure
"ok_button" // button in the current window
"address.street" // line edit in the address subwindow
".name" // line edit in the upper control (window)
to list
- sResource
- Name of resoure
-
Get high context by name and type
odabagui::ControlContext & GUIBaseContext  :: highContext ( odaba::String &sResource, odaba::ContextTypes eContextType )
The function returns the next higher context with the type passed in eContextType and the name passed in sResource (window or field name).
- sResource
- Name of resoure
"ok_button" // button in the current window
"address.street" // line edit in the address subwindow
".name" // line edit in the upper control (window)
- eContextType
- Context type
The context type contains the system type of the context instance.
to list
- sResource
- Name of resoure
-
Get high context by type
odabagui::ControlContext & GUIBaseContext  :: highContext ( odaba::ContextTypes eContextType )
The function returns the next higher context with the type passed in eContextType.
- eContextType
- Context type
The context type contains the system type of the context instance.
to list
- eContextType
- Context type