Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

How to hide the dropdown button of ComboBox

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

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.

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 * ===============================================

Reply by email

zeljko
to silvioprog
silvioprog wrote 9 lines
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.

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

z.

Thx.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110913/5cb45aaf/attachment.html>

Reply by email

silvioprog
to zeljko

2011/9/13 zeljko :

Show quoted text 9 lines
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 * ===============================================

Reply by email