Show/Hide Combobox List
Show/Hide Combobox List
Is there a method for the Combobox class that would allow me to show/hide the list (doing what the button does, but with a command)?
Re: Show/Hide Combobox List
What I'm trying to do is create a text entry widget that will display suggestions in a floating widget underneath it while the user is typing.
For this to work well, I might also need something like Combobox.Quiet (to turn on and off the refresh) added.
Or is there a better way to accomplish this?
For this to work well, I might also need something like Combobox.Quiet (to turn on and off the refresh) added.
Or is there a better way to accomplish this?
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: Show/Hide Combobox List
You could try wrapping it with a pageview gadget with the "none" mode to prevent it from forming tabs at the top.
I'm on registered MorphOS using FlowStudio.
Re: Show/Hide Combobox List
The pageview gadget would still take up room in the GUI when visible; so it would displace other parts of the GUI. The nice thing about the Combobox list is that it floats above the GUI without effecting the layout at all whether the list is shown or hidden.
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Show/Hide Combobox List
It would be possible to implement methods for showing and hiding the combobox list but I'm not sure if this would be of any help because if you did it like that, you'd still need to embed a combobox widget below your text entry widget and this would look rather ugly so I'm not sure I understand how you want this to work.