Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Visual Basic
Combo box
Combo box
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
edzonline
New Member
Join Date:
Aug 2006
Posts:
1
#1
Combo box
Aug 3 '06, 11:10 AM
can any one teach me or show me how to code combobox and adding an item while running the program
Hemant Pathak
Recognized Expert
New Member
Join Date:
Jul 2006
Posts:
92
#2
Aug 3 '06, 12:33 PM
Hi............. ......
u can try below code
'For Clear combobox
combo1.clear
'Adding the contect in combo box while program is running
combo1.additem "Write what u want to add"
............... ............... ............... ............... ....
Comment
Post
Cancel
sashi
Recognized Expert
Top Contributor
Join Date:
Jun 2006
Posts:
1749
#3
Aug 4 '06, 01:29 PM
Hi there,
Hemant is correct.. maybe a little modification will tidy up things.. :)
Code:
combo1.additem "text" combo1.listindex=0
what happens now? nothing much.. always shows the top most item 1st.. take care..
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment