>Okay, say you have a top-level scx Topform, and another scx Childform. You
>
>DO FORM Topform
>
>then (simplest example) in Topform, you have a button "run childform" with code
>
>DO FORM Childform
>
>Now from Childform, you have a button "Change Topform Caption" with code
>
>Topform.caption = 'Hi There!'
>
This works. But in my top-level form i've got a button "open antother session" which does DO FORM Topform. So antoher session of my application is started.
Now when i click the "Change Topform Caption" - button the caption of the topform of the last started session is modified instead of the currently active session.
All my topforms have the same name: " Topform" because it is the same form.
So as long as we are talking SDI it works, as soon as we go MDI we get problems.
Marco.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only