ControlContext :: createConstant - Create constant
The function creates a constant element for a control or window. The constant name must refer to a constant defined as element for the control resource. The function can be used to activate constants, which have not been activated when opening the control (auto_open = false).
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
odabagui::ControlContext &
ControlContext  :: createConstant ( odaba::String &sResource )
- 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)