Hi,
any idea how to restrict TComboBox dropdown - other than Enabled:=False?
I'm working on TCheckComboBox. It is readonly, Style=csOwnerDrawFixed.
See screenshot. I need that - let's say - left half of the component will toggle the state while right half will dropdown list. It is probably not problem with Windows (it has always "Edit") but GTK2 and Qt4 always dropdown (on left-mouse down).
Currently, I hooked on WMLButtonDown(); which is triggered before dropdown but I cannot find way to restrict dropdown.
I tried for example:
ControlState:=ControlState-[csLButtonDown, csClicked];
I guess it is not easy since it is native component.
Thanks.