Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: ON KEYLABEL call form.release
Message
 
 
To
10/08/2003 12:11:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00818703
Message ID:
00818960
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform