Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects not visible
Message
 
 
To
14/11/2002 11:19:09
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00719613
Message ID:
00722731
Views:
23
The goapp object will be created after it's Init method is finished. You can use THIS to reference goapp object inside it's methods.

>I think i'm trying something like that right now
>
>I've created a method doForm in the programmaticaly defined goapp class (this is the main class from wich everything happens(at least thats the idea :-))
>
>I wanted to cascade opened forms. for this I had to find out if there where activeforms in the _screen object.
>
>I call upon this doForm method when I open a form (in the init event). This method also increments a property totalForms wich I can use to see if there is an activeform. If so, I use the activeform's left and top properties incremented by 15 for the new form.
>
>This sounds like something you mean. :-)
>
>Any help on the subject is very welcome because i already stumbled upon a problem. If I open a form from within the init method of the main class I get an error: 'goapp(the main class) is not an object' I think this means that the code in the init event to check if goapp.totalForms > 0 is not working in this scenario.
>
>thanks!
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform