Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Grids
Message
 
To
01/12/1997 10:54:16
Michael Knelsen
Technology Management Corporation
Regina, Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00063026
Message ID:
00063055
Views:
41
>I am having the following problem with my grid. I have this grid on a page frame,
>and I need one column of the grid to be always filled in. When I click on the
>add button to add a line to the grid, focus is automatically set to the column
>and new row in the grid. My problem is if the person clicks on the page somewhere,
>the valid event fires, but focus is lost in the grid and focus is set to the page
>tab. Is this a VFP bug?? Is there a work around??

Sounds to me as if it's working as designed, more or less. If you click on the page,
the page should get focus. If you don't want the page to get focus, set the
Page.GetFocus to something like:
This.grd1.SetFocus()
NODEFAULT
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform