MDI Forms Child getting parent Info 
Author Message
 MDI Forms Child getting parent Info

I have an MDI form and need to get some information that I set on the parent
form.

psudo code

login to application
set userid and password and put them on MDI parent
launch MDI form

launch childform
How do I find the parent form and get information from it?



Fri, 28 Jan 2005 13:38:34 GMT  
 MDI Forms Child getting parent Info

Quote:
> I have an MDI form and need to get some information that I set on the
> parent form.

> psudo code

> login to application
> set userid and password and put them on MDI parent
> launch MDI form

> launch childform
> How do I find the parent form and get information from it?

I don't know if that is the right english word, but free translated
"transmission" is that you need....

code:

class mother {
        private privar;
        protected provar;
        // more variables

Quote:
}

class son : mother {
        // here all protected variables of mother will be accessable too.
but
only to the son-classes of mother. the : mother in the class decleration
is
that it's a child class of mother.
        //son variable declerations

Quote:
}

class sth : son {
        //this is the child class of son. so mother is the grandmother of
this class ;) ... in CSharp you can't access the protected variables of
mother here, in C++ you can. CSharp you can only "transmiss" one level...
but you are able to access the protected variables of son...
        //sth variable declerations
Quote:
}



Fri, 28 Jan 2005 14:35:12 GMT  
 MDI Forms Child getting parent Info
ok forget the information passing..

How do I simply find out who is the parent form for a child form?


Quote:
> I have an MDI form and need to get some information that I set on the
parent
> form.

> psudo code

> login to application
> set userid and password and put them on MDI parent
> launch MDI form

> launch childform
> How do I find the parent form and get information from it?



Sat, 29 Jan 2005 01:32:26 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. DataView filter not working in MDI child forms with reference to MDI parent DataSet

2. How to let parent form listening MDI child Form

3. How develop MDI application with child forms like VB MDI and Child forms

4. Communication between MDI Parent and MDI Child

5. How develop MDI form with child forms

6. HOWTO: Create a parent-child relationship form?

7. HOWTO: Create a parent-child relationship form?

8. MDI Parent/Child Question

9. Embedding controls in MDI parent forms.

10. Opening a new MDI child when no MDI Child exists

11. Opening a new MDI child from a MDI Child

12. Accessing parent mdi menu items from child mdi form.

 

 
Powered by phpBB® Forum Software