Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object
Message
From
11/05/2004 16:28:38
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Re: Object
Miscellaneous
Thread ID:
00902939
Message ID:
00902980
Views:
20
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
Map
View

Click here to load this message in the networking platform