Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with _Screen.ActiveForm.ActiveControl
Message
 
To
15/02/2001 16:19:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00476476
Message ID:
00476492
Views:
25
Andy,

It is possible that there is no activecontrol, so you must check that before you use it. My preference for doing this is;
IF TYPE("_screen.ActiveForm.ActiveControl.Name") = "C"
   * We have an active control

ELSE
   * We do not have an active control

ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform