|
-
Feb 27th, 2007, 03:34 AM
#1
Thread Starter
Member
Adding items to a Dynamic Combo Box
i created 2 combo box named combo1, combo2
Then i wrote a code, that during runtime 5 combo boxes will be created as an array of combo1
5 more combo boxes will be created as an array of combo2
Now i want to insert a particular data in first 5 combo boxes Combo1 and i have done the same
Now when a change of item is made in combobox1(First combo box of Combo1) a function should be called and it should insert the same data in first item of Combo2.
When a item is changed in Second icombo box of Combo1 the second combo box of Combo2 should have the item of
Please help me of how to do it
-
Feb 27th, 2007, 07:52 AM
#2
Re: Adding items to a Dynamic Combo Box
-
Feb 27th, 2007, 10:24 AM
#3
Re: Adding items to a Dynamic Combo Box
Private Sub Combo1_Change(Index As Integer)
is where the program will go when something is changed in Combo1. Index will tell you which box in the array was changed.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|