[Lazarus] How to hide the dropdown button of ComboBox

silvioprog silvioprog at gmail.com
Tue Sep 13 16:56:37 CEST 2011


2011/9/13 zeljko <zeljko at holobit.net>:
> On Tuesday 13 of September 2011 14:12:01 silvioprog wrote:
>> Hi,
>> Is it possible to hide the dropdown button of the ComboBox? (GTK and Win)
>>
>> I'm trying to create an "AutoCompleteEdit". Eg:
>>
>> I need this: http://imagebin.org/172239
>>
>> But the ComboBox don't shows the list when Style is csSimple.

http://www.justphukit.com/guide_8/the_combobox_component.html

> So, it needs ws implementation I guess ? What's csSimple btw ? combo without
> dropdown button ?

Yes. See:

http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Components/Q_23916705.html

The code in this link is not efficient, because the button is still
receiving clicks.

> z.
>>
>> Thx.

-- 
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
LazWebSolutions - <code.google.com/p/lazwebsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================




More information about the Lazarus mailing list