Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveControl
Message
From
17/12/2001 12:52:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00594634
Message ID:
00595208
Views:
32
>>When I ask for ThisForm.ActiveControl in the debugger, it says, it can't evaluate the expression.
>>
>>I tried to intercept KeyPress at the form level (Form.KeyPreview = .T.), and wanted to know in what object the user was. Does this property do nothing usefull at all? Or what am I missing?
>>
>>TIA, Hilmar.
>
>Put the VFP screen and the debugger side by side where you can see both. Put the following in the Watch window:
>
>_screen.ActiveForm.ActiveControl.Name

Doesn't work for me. I don't know what I am missing. VFP just says it can't evaluate the expression!

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform