>>Naomi, that's exactly the place that I just found in my 'framework'. Don't repeat my mistake (i suffer it for 8 years at least) and use an object. Btw, I use it for modal calls only. Modeless situation now handled in a good, object-oriented way.
>
>Do you mean a parameter object like Tore showed? And change my form class to accept it as one parameter? Then I would have to change menu calls from command to procedures? Did I understand your idea correctly?
Frankly, I lost what is 'menu calls' means in this thread, but Tore idea is very good.
Do you mean that you call some forms from the top menu? If you do the same from the Main Toolbar then you can just combine these calls, e.g. just type oApp.Topform.TbMain.Mycommand.Click in menu designer.
Edward Pikman
Independent Consultant