General information
Category:
Forms & Form designer
>1) If you want to call method of the other form, I think, you can just use
>MyFormName.method()
Tried that; got Object MyFormName is not found. -- My guess is that this is because MyFormname is not an object belonging to the first formm...
I guess what I *want* is '_screen.MyFormName. ...'
>2) Issue NAME clause in do form
The 'unrelated' forms can get called from yet other forms, menus, events etc; so the name would need to be a public var... This is a thought.
>3) In the main program create private variables oForm1, etc. In your form's Init method set oForm1=thisform. So, after this you can call oForm1.method().
I think this would get me stuck as #1.
>In my apps I used third approach, but as I understand from recent discussion, the second method is more sufficient. Try ask Edward Pikman for more professional advise.
Thanks.
Cheers
-josh
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