Reusing controls.

  • Thread starter Thread starter Joe R
  • Start date Start date
J

Joe R

I have two very similar forms. On one, I have developed
a toggle button group that has VBE behind each button.
Can I reuse the toggle group on the second form or do I
have to duplicate the group and VBE code behind the
buttons?

Any and all help is much appreceated.

Best,
Joe.
 
You may be able to copy and paste the group from one form to the other, then also copy and
paste the code. If the forms are that similar, could you use just one form and make the
changes when the form loads to turn the form into one or the other? You would have to pass
an OpenArgs parameter to the form when you call it so that it would know which form it
needed to be.
 
Back
Top