Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activecontrol questoin
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00622925
Message ID:
00623015
Views:
19
>Hi,
>
>I am trying to create a function that I am going to put in the refresh method of several objects on my form. However the function should only run when the focus is on a particular object. I would like to do something like "if this.focus = .t. then do...". How can I determine if the focus is on a current object?
>
>N

Would something like this work (I've not tested it!)
if _screen.ActiveForm.ActiveControl.Name == This.Name
endif
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform