can anyone help me how to programming the list box code in the VB6? i wan display the item i input in interface text field and combo box, then can display at the list box in that interface too.. pls provide the programming code for me.. thanks..
denniskhor -4 Junior Poster in Training
Recommended Answers
Jump to Postwhat do you want to do?
Jump to Postthis for add item from selected item on combo box to listbox :
Private Sub Combo1_Click() List1.AddItem (Combo1.Text) End Sub
to add item from textbox to listbox you need button to execute all letters on textbox to listbox cause if u direct to add from textbox it …
Jump to PostHi Sonia,
To select an Item in ListBox, Which is in Textbox , use :
List1.Text = Text1.Text
If text1.Text is found in the ListBox, That Item is selected/highlighted, or else, if not found then, No item in Listbox is selected..
Regards
Veena
All 11 Replies
Jx_Man 987 Nearly a Senior Poster Featured Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster
cometburn 2 Junior Poster
sonia sardana -13 Posting Whiz
sonia sardana -13 Posting Whiz
QVeen72 104 Posting Shark
Jx_Man 987 Nearly a Senior Poster Featured Poster
Sawamura 9 Junior Poster in Training
ruchika beddy 0 Light Poster
ruchika beddy 0 Light Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.