Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: ON KEYLABEL call form.release
Message
 
 
À
10/08/2003 12:11:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00818703
Message ID:
00818960
Vues:
24
Fabio,

You should not be trying to use a global OKL handler for this task, use the form.KeyPress() method with form.KeyPreview set to .t. instead.

You always have to write code to verify that _screen.ActiveForm actually refers to a form at the instant you are trying to use it.

>release a form with OOP need to call form.release method.
>
>	PROCEDURE Activate
>		ON KEY LABEL CTRL+F11 _SCREEN.ActiveForm.Release		&& bug 1+big 2
>                ON KEY LABEL CTRL+F12 RELEASE  WINDOWS _SCREEN.ActiveForm.Name && warning 1
>	ENDPROC
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform