Glad I could help!
I would put the code in my base form class. If you only want the functionality in Top Level forms, you can always surround functionality with a check to see if the form is a top level form:
IF this.ShowWindow = ....
ACTIVATE MENU ....
ENDIF
>Hi Rick,
>
>Sorry 'bout my respond, my mistake. It worked, but I didn't notice that it did 'cause I place the command in the wrong place, thus, there was a delay on the refresh. Anyway, the this is that that was the right command. My only problem is where would be the best place to put it. I really don't like repeating commands over and over. So I guess putting it in the event of every form called be the menu is out of the question. I've tried creating a routine that can be used be the menu to call the forms, just so that I do not have to repeat the code.Problem with that is I have a lot of non-modal forms; so after the form has loaded the menu is automatically refreshed. By the time I close the form, I have no code left to refresh the menu cause the rest of the procedure was executed before giving focus to the form.
>
>Any suggestions?
>
>BTW, Thanx! a lot of that tip and sorry again for missing it!
>
>:)