Hi!
I experiensed the same behavior once. I do not remember if it is related to ActiveX or pageframe, but in my code I always explicitly store the value in the field and than call the valid event of the last active control before data update or revert. This is just because updating or reverting code could be ran from keyboard shortcuts that, of course, for sure will not run the Valid.
>I have a Combobox and it receives the Focus when the parent page s activated. If I immediately click on a cancel button on the page the Valid for the Combobox does not run. I thought that when an object lost the focus, the Valid method executed. Wrong? Thanks!
>
>Regards, Renoir
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.