company logo

GUIBaseContext :: highContext - Get parent context instance

The function returns the next higher context depending on its name or type.

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 details

  1. Get parent context
    odabagui::ControlContext & GUIBaseContext  :: highContext (  )

    The function returns the next higher context (parent context) regardless of its name or type.

  2. to list
  3. 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)

  4. to list
  5. 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.

  6. to list
  7. 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.

  8. to list