[Lazarus] TComboBox.DropDownCount has no effect.

zeljko at holobit.net zeljko at holobit.net
Sat Apr 4 21:06:08 CEST 2015


On 2015-04-04 14:40, Howard Page-Clark wrote:
> On 04/04/2015 19:04, Donald Ziesig wrote:
>> Hi All!
>> 
>> I have several apps that use combo boxes for (e.g.) Minutes.  For
>> Minutes, the items range from 0 to 59.   The Object Inspector shows 
>> that
>> the DropDownCount is 8, but no matter what I put in there, I get the
>> entirety of the items.
> 
> This seems to be a Linux bug, since DropDownCount restricts the
> entries listed correctly on Windows (win32).

No, it's not bug but gtk behaviour. Gtk have popup (like popupmenu) for 
combolist by default.
That can be changed by setting in gtk2rc file (don't know now what 
exactly need to be changed).

zeljko




More information about the Lazarus mailing list