>Hi:
>
>Is there any way to preserve the valid event of a control when selecting from a menu or toolbar which doesn't recieve the focus when selected? I have a 'WriteBuffer' procedure that I use to confirm changes in these situations that will fire the valid event, but it is too late to get the focus back to the offending control. I usually don't use the Valid event, instead I validate data just before saving, but in this case I would like to use it.
>
>Thanx,
>Charlie
Could you reference back to the active control on the form via the menu, say if they chose to press the file save menu choice you would fire off the following:
_screen.ActiveForm.ActiveControl.Valid()
before you do any other code in the menu choice. I may be fuzzy on this but it is my two cents.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope