Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get name of the form in LOAD method?
Message
De
21/01/2013 16:59:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01563533
Message ID:
01563540
Vues:
63
If I remember correctly, the form's name is not yet available with _screen.activeform.name. However, if you move this code to Init, I think it is.

>I created a function that checks for good SQL Server connection. I call this function from LOAD method of a form class. If the connection is bad, I would like to store in the "log" file which form had a problem.
>
>>Why?
>>
>>>
>>>I am calling a procedure from LOAD method of a form class. Without passing a name of the form class or some other information, can the called procedure know the name of the form? or some other piece of information that would help "locating" the called form/class?
>>>
>>>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform