Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On shutdown doesn't shift focus off field
Message
From
23/04/1999 19:43:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00211650
Message ID:
00211810
Views:
28
>One thing I found out was that _screen.activeform.activecontrol gives an error if there is no active control. I was able to accomodate for this in my error handler though.

Hi Evan,

You can avoid the error handler altogether:
If Type("_Screen.ActiveForm.ActiveControl") == "O"
    && Make sure there is an active control
    _Screen.ActiveForm.ActiveControl.SetFocus
EndIf
Next feature for UT: Color coding! (Won't let me use <FONT>)
:-)
Sylvain Demers
Previous
Reply
Map
View

Click here to load this message in the networking platform