Well, I wasn't really trying to pin this on the grid. I was just responding to Thomas' comment about grids being "complex beasts." Hey . . . could that be a new base class, perhaps? . . . the BEAST base class? <g> Anyway, thanks for staying on top of this and more fully documenting it. Maybe you should put your discoveries as a comment to the download file I created. IMHO, they definitely need to fix this one!
Fabio, have a happy holiday season - please see message #
971886.
Russell
>Hi Russel,
>
>this is a pageFrame bug, the grid it does not have guilt.
>It appear with any ActiveControl on a Pageframe's page.
>
>This bug have
more serious effect:
>The BUG:
>
If you change the page with ActivePage,
>the current ActiveControl don't execute the lostfocus sequence>The effect:
>
THEN YOU CAN EXIT FROM A TEXTBOX WITHOUT EXECUTE THE VALID CODE;
>IF YOU IMPLEMENT A CHECK INTO the TextBox.Valid,
>with Activepage = .. VFP DON'T EXECUTE THE CHECK CODE !>
>With Page.Setfocus,
>the Activecontrol execute the lostfocus sequence before to deactivate the current page.
>
>Fabio