Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Receiving parameters in form.load
Message
 
À
29/09/1998 12:10:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00141973
Message ID:
00142169
Vues:
30
No, they ALWAYS go to the INIT. If you need this information for a View, use the NoDataOnLOad property and requery() the view after receiving the parameter.

You can also have a 'AfterInit' property which is set FALSE during design and changed to TRUE at the end of the INIT method. Any code you DON'T want processed before you get your parameters can be surrounded by
IF thisform.AfterInit
   ***  code to process with INIT parameter
ENDIF
Then you can call this code a second time if necessary after the INIT .

Barbara


>I noticed that for form sets I can change the WindowType property to control where the params are received. Is there no such setting for forms?
>
>>>I apologize for the simple question, but I just can't find it in the help:
>>>
>>>how do I receive parameters in the form.load (as opposed to the form.init)?
>>>
>>>
>>>Bob
>>
>>You can set some property value in calling object (form) right before starting new form and check this value in Load event
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform