Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defensive programming...
Message
De
07/06/2002 09:57:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00665394
Message ID:
00665925
Vues:
26
>>>Thanks Bill - I kinda worked out a solution by moving the code out of the load event and popping it into a timer - when the timer fires I can call clear events then thisform.release... Thanks for your help
>>
>>No problem. Glad you found your solution. I am kind of curious as to how and why you are using the Timer in this situation. Unless I'm missing something it seems you should be able to accomplish this task w/o a Timer?!?
>>
>>Bill
>
>Sorry - for conciseness (is that a word???) in my original posts - I left out the detail! The form in question is a splash/login form - first it just displays my splash image and I have a timer set to 1000 - when this fires I make visible my buttons and textboxes for the user to put in their log in details - hence the timer...
>Hope that answers you question!!! Thanks again Bill for your help...
>Chris

Gotcha. That is a relevant detail. :-) Main thing is that you got your problem resolved. One note, as the others noted, you should be able to return .F. from the form Load to stop instantiation as well as the form Init. I usually use the Init, and if you need to test on passed parameters to determine whether to instantiate or not, you would have to use the Init, but the Load should work normally also.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform