Multipage control

A

avi

Hello,

I have a userform in VBA with a Multipage control that works fine. I'm
trying to convert the userform to a VB6 form. I've found the Multipage
control but how can I add pages in design mode(not programatically),
as the default is 2 pages?

Thanks a lot for helping

Avi
 
P

Peter T

Are you talking about an MSForms Multipage or a VB6 SSTab / Microsoft Tabbed
Dialog. Strongly suggest you don't put the former on a VB6 form.

However, the MultiPage is one of the few things that has significant
advantages over the VB6 equivalent, you could simply import your entire VBA
form into your VB6 project. Just drag it from file, no need to add any
references.

Regards,
Peter T
 
A

avi

Hello Peter,

Thanks for your reply

Actually, the reason I want to transform the Userform into a VB6 form
is that I try veru much to use a skinner that works only with forms
and not userforms

My userform is already a designer in VB6

I am talking about the multipage control and not the tab strip. Is
there a way to design it with more than 2 default pages in a Vb6 form?

Thanks
Avi
 
P

Peter T

I'm confused, you say you have the userform as a designer in VB6 yet you
also say you have the multipage on a VB6 form.

If you mean, as you say, you have the mutlipage on a VB6 form, as I
mentioned previously I would suggest you use the VB6 equivalent Tabbed
dialog (or make your own multipage completely which is what I do).

If however you mean you have a multipage on a VBA style userform in your VB6
project, I don't see what the problem is. Just add a new page as you would
if you in a VBA-IDE. I notice though for some reason in the VB6 IDE the
right click pop up has a button labelled "Insert" whereas in VBA in the
virtually identical popup the button is named "New Page".

If for some reason the popup does not appear when you rt-click over the
page tabs, why not export the form, import into a VBA-IDE, add your pages,
re-export to file and re-import into your VB6. project.

Regards,
Peter T
 

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