/************************************************************************* Activate the edit box component of the Combobox. *************************************************************************/ void Combobox::activateEditbox(void) { Editbox* editbox = getEditbox(); if (!editbox->isActive()) { editbox->activate(); } }
void Spinner::onActivated(ActivationEventArgs& e) { if (!isActive()) { Window::onActivated(e); Editbox* editbox = getEditbox(); if (!editbox->isActive()) { editbox->activate(); } } }