how do i add items to a combobox from a listbox that is in another form??
shalini_roy
0
Newbie Poster
Recommended Answers
Jump to Posthow do i add items to a combobox from a listbox that is in another form??
You can reference the listbox directly using:
combobox.additem frmOtherfrm.listbox1.index(frmOtherfrm.listbox1.listindex)
This code will grab the currently selected item, and will cause an error if there is no selected item. You probably want …
All 2 Replies
Reply to this topic
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.