Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
10/03/2000 04:11:28
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Grid
Miscellaneous
Thread ID:
00343921
Message ID:
00344061
Views:
25
Hi Milt.

>> All seems to work well while I'm in the grid but when I move to a command button which is not in the grid the messagebox does display but the command button receives focus which is not what I want to happen. I want focus to remain on the grid. Thanks for any ideas. <<

You are not doing anything wrong. This is a known bug - the Valid of the grid fires before the Valid of the contained controls. So what is happening is that by the time your textbox Valid fires, the grid has already lost focus. A workaround is to put something like this in the grid's Valid:

RETURN This.colWhatever.txtWhatever.Valid()

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform