Page 1 of 1

[SOLVED] Combobox: "SingleClickMode" property

Posted: Tue Apr 19, 2011 19:17
by Browser12
I'm assuming this property being 'False' makes it so that a combobox doesn't drop-down simply by mousing over the arrow, but rather the arrow must be clicked?
(If not, what does it do?)
I have attempted setting this property in my layout to False (and True as well, just to see), but see no effect on my combobox... hovering over the dropdown arrow still drops the combobox down (I want to have to click it).
I have also tried using the myComboBox->setSingleClickEnabled(false); manually once my layout is loaded, also with no result.
Is this feature currently functional?

Re: Combobox: "SingleClickMode" property

Posted: Wed Apr 20, 2011 10:21
by CrazyEddie
Single click means the list appears when you press down on the mouse button, you are then able to mouse over an item and select it as you release the mouse button. Without this mode, you are required to click once (down and up on the mouse button) to show the list, and then click a second time (down and up on the mouse button) to select an item.

CE.

Re: Combobox: "SingleClickMode" property

Posted: Wed Apr 20, 2011 22:13
by Browser12
Ah, OK. My mouse clicks weren't being injected properly (curiously, it was only affecting my comboboxes). :oops:
They were dropping down upon hovering over the arrow.. I assumed that was the "single click mode" ;]
Fixed my stuff, thanks a bunch CE.