|
-
Jul 27th, 2008, 11:39 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] [2008]Filling combo box from a parent form.
Hello,
What is the best method to fill a combo box from a parent form.
The combo boxes are in a child from and the child form is opened by the parent form.
I have 2 combo boxes and wondering what is the best method to fill them from the parent form.
The method I was thinking of usig was adding a list of string and sending the list in the constructor of the child form. Then the list of list will populate the combo boxes.
The data I have is always in the parent form and this is why I have to send it somehow to the child form.
Thank,
-
Jul 27th, 2008, 11:57 PM
#2
Re: [2008]Filling combo box from a parent form.
If the child form must ALWAYS have this data then, yes, use the constructor. Otherwise use a property, which may or may not be set.
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
|