Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveControl question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00130226
Message ID:
00130232
Views:
23
>>I used to use _curobj to get the identity of the current object. Now I'd like to use Activecontrol, but I don't know how. If I have a form-level onkey event that needs to know if and which field the user is in when they press that key, is ActiveControl what I should do? And what's the syntax?
>>
>>Thanks in advance,
>>JR
>
>You better use Form.Keypress event (Form.Keypreview=.t.), e.g. try there
>=messagebox(thisform.activecontrol.name)

Exactly what I needed and none of what I didn't!!!

You're a good man, Edward Pikman,

JR
CLARC Services, Inc.
3500 Tamiami Trail
Port Charlotte, FL 33952
www.clarc.com
(941) 743-0108
(800) 246-5488
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform