|
-
Sep 13th, 2005, 04:03 PM
#1
Thread Starter
Hyperactive Member
Update Controls of other forms
Dear all,
I am trying to code something that I update the database with one form, then I check if there is any other forms opened, if the specific forms opened, then I have to update a specific control that's in that form....
Any idea???
Thanks
PlayKid
-
Sep 13th, 2005, 08:00 PM
#2
Re: Update Controls of other forms
What control would you like to update? datagrid? combobox? listview?
or update the data in that control.
-
Sep 13th, 2005, 11:53 PM
#3
Thread Starter
Hyperactive Member
Re: Update Controls of other forms
update the data in the control, it is a combo box
-
Sep 14th, 2005, 12:04 AM
#4
Re: Update Controls of other forms
if so clear the combobox then populate again the data.
or you have a method that populates to your combobox and declare it public so that it can be access to your mainform.
-
Sep 14th, 2005, 12:18 AM
#5
Thread Starter
Hyperactive Member
Re: Update Controls of other forms
but then do I have to say
Dim NewForm as new Form1
NewForm.ComboBox = "something"
NewForm.combobox.show()
but that form is showed already, do I have to use this code to change???
-
Sep 14th, 2005, 12:26 AM
#6
Re: Update Controls of other forms
ok. Questions.
What kind of application you develop?
Is it an mdiparent mdichild application?
You have a mainform and lots of child forms?
-
Sep 14th, 2005, 01:57 AM
#7
Thread Starter
Hyperactive Member
Re: Update Controls of other forms
yes, it is a mdiparent and lots of mdichildren, but I want to update the database with one form, while the other forms are still open, the other forms that need that specific data need to be update without closing the form...
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
|