company logo

ControlContext :: removeButton - Remove button

The function removes a button with the resource name passed in sResource from the visible control. The button is not removed from the resource, but from the currently running application, only. The button will appear again after re-opening the application or window.

When no such button exists in the current context, the function throws an exception.

Implementation details

ControlContext  :: removeButton ( 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)