Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing the active control from a menu bar
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00648949
Message ID:
00654295
Views:
12
>Sergey,
>
>Thanks for your response. One last question - what if the text box in question is within a container object such as a grid? how do i reference that object?

In this case Activecontrol will be a grid and you'll have to drill down to find which control in grid has a focus. The code in either of the following messages could be used with slight adjustments to acomplish that:

_Screen.ActiveForm.ActiveControl.Setfocus() and Grids Message #478750
Activecontrol questoin Message #623022
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform