Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stop form
Message
 
 
À
27/06/2002 11:36:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00672891
Message ID:
00672923
Vues:
14
>>You mean something like timer? Daniel Gramunt sent me his new class, which allows to Cancel form. However, in my particular case the form is extremely complicated with a very deep hierarchy.
>>
>>I think, may be in this particular case I disable escape and then re-enable in Destroy. Though it contradicts with my principle of giving the user most flexibility...
>
>No, I meant that if you have access to the source code, you do something like this:
>
>
>* pseudocode
>SET ESCAPE OFF
>
>* The following might be loop that repeats many times
>local llInterrupted
>do while ...
>   if (user presses ESCAPE)
>      llInterrupted = .T.
>      exit
>   endif
>   * Do the repetitive process here
>enddo
>if llInterrupted
>   ...
>endif
>
I have source code for the BtCrit application forms. I can not touch the classes, on which the form is based.

Anyway, this is not an immediate priority, I just explore this problem to go back, when I have time for this...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform