General information
Category:
Coding, syntax & commands
hi friend!
You can play around with the Left and Top properties of the combo to positionate it on the listbox, you know such as the smart help in visual basic.
Create a combo and populate it in the form load with the values you want to add in it.Make it invisible, cus you gonna make it appear on the listbox once the user click on this last.
After that, when an user clicks on the listbox, place the listbox index in a variable (cus we gonna use this to set the combo text that we gonna choose into the listbox text.) and Then set the left and top properties of the combo in the coords X and Y given by the Mouse_Down event of the listbox, then get the text that you choose from combo in the listbox with its correspondent text property, and KABoooooooooooM, make the combo dissappear again, but dont destroy it, just hide it, you might want to use it again and again, Am I right?
I can send u some code regarding this man, just let me know friend!
Hasta Luego amigo! (Spanish prhases for u to start learning man)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only