Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids Focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00229383
Message ID:
00230104
Views:
22
>>>>>Can someone remind me why grids don't keep their focus when set programatically. I have one that appears over the top of some other controls and is setfocus with code but then immediately tabs to the next control in the tab order. Then the cursor blinking in the other control can be seen through the grid. ??
>>>
>>>Actually, I want it to stay visible and keep the focus, and not show a blinking cursor underneath the grid.
>>
>>Not quite sure what the problem is, but have you tried using the grid Zorder()? Also, are you sure some code inside the grid (ARCC, textbox Gotfocus, etc.) isn't firing when you setfocus to it?
>
>Tried zorder to no avail. No other code really.

Are you sure the focus is leaving the grid, and not just on a grid control? Anyway, you could try

SET CURSOR OFF in the grid When, and
SET CURSOR ON in the grid Valid
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform