Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting to properties on another open non MDI form.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00161616
Message ID:
00161624
Vues:
21
Joe,

Look at the _SCREEN.FORMS() array. You can look at the following:
_SCREEN.FORMS(i).Name or any other property. The problem is if you DO a form it does not have the same name as the form that you ran in the _SCREEN object. It is a member of the _SCREEN but you refrerence it using the _SCREEN.FORMS() array. You can read the name out of the _SCREEN.FORMS().Name property and/or any other property after checking that you have the correct form in the array for reference. You could also set a variable reference to the form such as:
oForm = _SCREEN.FORMS(i)

However, beware that setting a reference to a form object or anyother object will not allow that object to be released until the variable reference is released by either oForm = '' or oForm = .null.

Rich
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform