Control Multiple Forms

MisterHi

New member
Joined
Dec 29, 2008
Messages
3
Programming Experience
Beginner
I have to create a MDI project.
i have 4 forms(main then 3 sub, insch, deeln , toer)

But now i want , to control from 1(sub) Form the other 2(sub)

So when i click next, the view the next data from the Database , i want that the other form also goes next.

I have already tried a lot of things but i won't work ....

Thanks in advance !

my.php


A picture of my project in work
 
Last edited:
Generally you should manipulate the child forms only from the parent form. To invoke an action in one child from another you can have one child raise an event that the parent can handle, then the parent can call a method in the other child.

Alternatively, the parent can pass a reference to one child to another child. The child with the reference can then access the referenced child directly.
 

Latest posts

Back
Top