Reusing controls.

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.
 
W

Wayne Morgan

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top