Is it possible to open a combobox at runtime? so, without clicking on it yourself.
Something like:
elements.MyCombobox.open();
My goal is to open a combobox when a button is clicked.
Hans Nieuwenhuis wrote:You could try elements.MyCombobox.requestFocus([false/true)
Regards,
maria.kyselova wrote:When I tab between my form elements I don't want my combos to open at all.
Will log an issue to fix it, so beware
application.putClientProperty(APP_UI_PROPERTY.COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN, false);
jdbruijn wrote:maria.kyselova wrote:When I tab between my form elements I don't want my combos to open at all.
Will log an issue to fix it, so beware
Try this:
- Code: Select all
application.putClientProperty(APP_UI_PROPERTY.COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN, false);
forms.someForm.elements.comboboxElement.putClientProperty(APP_UI_PROPERTY.COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN, true);
Users browsing this forum: No registered users and 20 guests