Page 1 of 1

PostPosted: Sat Jan 28, 2006 1:41 pm
by Ping
Can it really be true that there is no way to share a menu structure between forms?

It is _really_ bad practice :evil: having to duplicate and maintain the same structure across several forms.

The application I am currently working on, has quite a few forms, so having to implement and maintain the common menu structure on each form is a really big pain in the rear, not to mention aggrevating, annoying, and a plain and utter waste of time.

It is also all too easy to make errors or forget something, when the same alterations have to be made in so many different places.

Ping.

PostPosted: Sat Jan 28, 2006 9:27 pm
by nmc
In your OnOpen handler, write:
this.menu = StdMenu.id;

PostPosted: Sun Jan 29, 2006 1:57 pm
by Ping
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by nmc</i>
<br />In your OnOpen handler, write:
this.menu = StdMenu.id;
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

nmc, you are a genious :D

Ping :mrgreen: