Global Buttons

  • Thread starter Thread starter Charles L. Phillips
  • Start date Start date
C

Charles L. Phillips

Hello,
I have a set (5) of buttons, that I would like to put on several forms.
My question is, how can I do this, without writing the code for each
button...
 
There is two approaches that would work quite well:

The first idea would be to create a menu bar. After all, I would bet that
99% of your applications you are using have a menu bar, so why not your
application?

From User interface point of view, a menu bar is very good idea. You can
read why, and see some screen shots of those menu bars in action at:

http://www.attcanada.net/~kallal.msn/Articles/UseAbility/UserFriendly.htm

The 2nd idea would be to simply create a sub-form. A sub thus becomes a
re-useably object that you drop in to any form that you have. There is no
reason why you can put 5 buttons on a small sub-form, and then just drop
that into any form when you need the 5 buttons.

The following will give you some ideas as to what I mean by re-useable
forms.

http://www.attcanada.net/~kallal.msn/Articles/fog0000000005.html
 
Back
Top