|
| [WD17] Combobox Auto Open |
| Iniciado por guest, 23,feb. 2015 11:24 - 5 respuestas |
| |
| | | |
|
| |
| Publicado el 23,febrero 2015 - 11:24 |
Hello to all
I've an interface with a button and a combobox.
What i would reproduce is : When the user push the button, the combobox list of available values must be opened immediately. Now the combobox appears and i've to push the down arrow to obtain the list of available values (as it does normally)
Is there a method to obtain the immediate opening of the combobox list without push the down arrow??
Thanks in advance.
Gianni |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,febrero 2015 - 12:09 |
Hello Gianni
There may be a more uptodate method, but this is one from the very early days of the forum. The combobox must be active for it to work
BoxToOpen is string = "NameOfCombobox"
SendMessage(Handle(BoxToOpen), 513, 0, Null) SendMessage(Handle(BoxToOpen), 514, 0, Null) SendMessage(Handle(BoxToOpen), 1039, 1, Null)
You don't really need the string, that was part of a call to this as a global routine
Regards Al |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,febrero 2015 - 12:36 |
Hello Al
Thank for the info. I will try this way..
Thanks again. Gianni |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,febrero 2015 - 12:55 |
ComboOpen(NameOfCombo)
marc:cool: |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,febrero 2015 - 13:29 |
Hello Marc
I knew there had to be a more modern answer. Thanks for bringing it uptodate.
Regards Al |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,febrero 2015 - 13:51 |
Hello Marc
Thank for your info.
Gianni |
| |
| |
| | | |
|
| | | | |
| | |
|