Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Workaround for a bug
Message
From
14/06/2001 14:38:14
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00519598
Message ID:
00519622
Views:
13
>>>>>>We have found a small bug in Visual FoxPro when the cursor sits on a column of a grid and when we do a refresh. Occasionnaly, the grid won't be refreshed. When that happens, and that only happens occasionnaly, we just put the cursor on another control, outside of the grid, and the next refresh will be ok.
>>>>>>
>>>>>>We would like to update the framework to put the cursor out of a grid control, if we are on one of them, when we navigate or save for example. What would be the best approach for that? There is no SetFocus() at the form level. So, we need to rely on something else that will always work no matter what type of form we have.
>>>>>
>>>>>I imagine you (can) have a form behind it (or _Screen);
>>>>>Click on that one (in code) and do a SetFocus on the GridCell.
>>>>
>>>>That handle should remain within the actual form.
>>>
>>>
>>>Accepted. But why ?
>>
>>Because I'm sure we can find a better workaround which will not cause such overhead. If we can find something which will remain within the baseform class, it'll be ok.
>
>And a Click on the form itself doesn't do the job either ?

How would you manage that programmatically?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform