Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Focus
Message
 
 
To
30/07/2001 13:55:44
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00537197
Message ID:
00537372
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
I don't log to a file, I route the messages to the Debug Output window.

If a control actually does have focus _screen.ActiveForm.ActiveControl.Name should have a value. You should watch that expression in the debugger.

>Can I have the event tracking turn on via code other than doing a set step on? The debugger interferes with the form and adds lines to the log that are confusing to follow.
>
>Unless I quit/restart Foxpro I cannot open the log file because of a "File is in use" error.
>
>Is there something I can do to know what has the focus at a particular time during the read? It seems that if I do not manually set the focus nothing on the page has it. That makes me think that an object has it that I am unable to see. I tried ActiveControl, but it seems unreliable and doesn't have value at the time I need to know what it is.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform