Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects not visible
Message
De
14/11/2002 11:19:09
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00719613
Message ID:
00722717
Vues:
24
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform