Re: DropDown style ListBox
1. Why don't you want to use combobox?
2. ListBox does not have "dropdown style". Combobox can have it.
3. How is your "listbox" supposed to look like in its" norma"l state and in a "dropped down" state?
Re: DropDown style ListBox
Also... you could use a PopUp Menu
Re: DropDown style ListBox
The ComboBox has various styles. Have a look into the DropDown Style property. That should be sufficient.
Do not reinvent the wheel.
Re: DropDown style ListBox
Thanks Buddies,
My Listbox will contain only Numbers...
Starting with 1 till 10 in step 1 format.
The up arrow will popup to show above 5(That is 6,7,8,9,10) and downarrow will show below 5(That is 1,2,3,4,5) , so the user can select any numbers popup or popdown by mouse.
Please dont laugh at my ignorance.
Thanks
Rahul
Re: DropDown style ListBox
Are you sure the users of your program will love such a non-standard UI?
Re: DropDown style ListBox
Dear VictorN,
How do you guess that it will be a non-standard UI?
I have seen in other programs apart from VB6 this list box pops up with in descending order from 10 to 1 when UP arrow is clicked.
Similarly,when down arrow is clicked all numbers from 1 to 10 is dropped down !! how to do it?
Thanks
Rahul
Re: DropDown style ListBox
Quote:
Originally Posted by
dsrahul
I have seen in other programs apart from VB6 this list box pops up with in descending order from 10 to 1 when UP arrow is clicked.
Similarly,when down arrow is clicked all numbers from 1 to 10 is dropped down !! how to do it?
Start one of these "other programs", then start SPY++ and search for the window class/styles of "this list box" as well as for the messages sent to/from this control.
Re: DropDown style ListBox
Great Vic,
You Are a master guide. Thank you. I used James Bond source code explorer and it gave me the code to do it. I purchased jbsce. But to help others I would suggest Sherlock API decoder.
Thanks.
Re: DropDown style ListBox
There are many software reverse engineering things on the net unbelievable. There are programmers who just do magic with existing facilities. Victorian is a genius. Wow. Thank you victor.