-
July 21st, 2013, 01:32 AM
#1
DropDown style ListBox
Dear Buddies,
Hi.!
After a long time I logged in...Anyway, I searched the net for ListBox dropdown style.
This means, that when I click the ListBox all items will be shown in dropped down style.,as a ComboBox does.
But unfortunately I could not find any website where it is mentioned.!!1
Pls help Guys.
Thanks
Rahul
-
July 21st, 2013, 03:02 AM
#2
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?
Victor Nijegorodov
-
July 21st, 2013, 08:15 AM
#3
Re: DropDown style ListBox
Also... you could use a PopUp Menu
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
July 22nd, 2013, 01:34 AM
#4
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.
-
July 23rd, 2013, 06:07 AM
#5
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
-
July 23rd, 2013, 07:04 AM
#6
Re: DropDown style ListBox
Are you sure the users of your program will love such a non-standard UI?
Victor Nijegorodov
-
July 23rd, 2013, 09:58 AM
#7
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
-
July 23rd, 2013, 10:30 AM
#8
Re: DropDown style ListBox
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.
Victor Nijegorodov
-
July 23rd, 2013, 12:43 PM
#9
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.
-
July 23rd, 2013, 12:49 PM
#10
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|