Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Role of READ EVENTS
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00362041
Message ID:
00362183
Vues:
17
>>>>I have a single-window utility that won't stay visible. It flashes, then disappears leaving a VFP icon in the taskbar (NT workstation). I've tried putting a READ EVENTS after the DO FORM ??? line but then, when I close the form, the icon remains in the taskbar (even though I can't seem to re-activate it).
>>>
>>>You need to do a CLEAR EVENTS somewhere, probably the Unload() or Destroy() or the form.
>>
>>Thanks Mike
>
>Larry,
>
>Usually, CLEAR EVENTS would go in the ON SHUTDOWN routine, but Mike's suggestion will work too.

I have done this kind of quick-and-dirty 1-form util. Definitely have at least ON SHUTDOWN CLEAR EVENTS command before you DO anything. If you screwed up the form, you have no way of quitting VFP if you have issued a READ EVENTS. You get the Can Not Quit VFP mesage box. The only way out [Win9x] is Ctrl-Alt-Del and End Task a bunch of times until Win will actually kill it. Of course, this is not the voices of experience you are hearing! :]
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform