Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CLEAR EVENTS - bug or feature?
Message
De
24/11/1998 11:09:05
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, Californie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00160607
Message ID:
00160956
Vues:
20
I don't think you'd want CLEAR EVENTS to execute an implicit return. Say, for example, you had a shutdown routine. The shutdown routine would be responsible for cleaning up everything. You wouldn't want code like:

CLEAR EVENTS
_screen.activeform.release()

(Simple example)

to execute an implicit return. And you'd definately want to CLEAR EVENTS before releasing the form, I would think.


>Jeff,
>I assumed the same thing about loading a form or calling other code - until one day I called something with a return code and it 'returned' the same "" I initialized.
>
>Barbara
>
>
>>Hi Barbara,
>>
>>I had always assumed, for some strange reason, that CLEAR EVENTS had an implicit RETURN built into it - probably because it only exists in a few places in my framework and, until now, was always the last line of code.
>>
>>I'm now wondering what other assumptions I have which are not valid! :)
>>
>>Time for a vacation.
>>
>>>Jeff, this seems to be standard VFP functionality - you'll see the same thing if you call a non-modal form or show a container in the 'middle' of method-code - you won't see the form until the method-code is complete.
Eric Shaneson
Cutting Edge Consulting
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform