Information générale
Catégorie:
Codage, syntaxe et commandes
You have to let the form get to a point where it is expecting user input. This is why your program crashes VFP and as Peter says you have to CTRL + ALT + DEL to exit this permenant loop. Having a loop in the INIT() method means the form will not finish loading, and therefore VFP doesn't look for input. Take the loop out of the init method. Use a timer if you want to update a clock on the form. Also don't forget to issue a CLEAR EVENTS, the DESTROY() method is a good place for that.
Lloyd.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement