Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / June 2007



Tip: Looking for answers? Try searching our database.

Copying and pasting similar controls from one tab to another...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Christian Williamson - 29 Jun 2007 10:40 GMT
I'm using Visual Basic 6.0, and I want my app to be an SSTab, with each
tab having several similar controls. For example, I'll have a Text Box
and label in the same locations.

Can I put all my controls on the first tab and then copy the whole
configuration to the succeeding tabs? If so, how?

Thanks much.
Chris Williamson
Jan Hyde (VB MVP) - 29 Jun 2007 12:25 GMT
Christian Williamson <c.willi@verizon.net>'s wild thoughts
were released on Fri, 29 Jun 2007 09:40:28 GMT bearing the
following fruit:

>I'm using Visual Basic 6.0, and I want my app to be an SSTab, with each
>tab having several similar controls. For example, I'll have a Text Box
[quoted text clipped - 5 lines]
>Thanks much.
>Chris Williamson

First of all you should have a frame control on each tab and
put your controls in the frame.

But yes, you can copy controls. Select them, change tab and
paste them.

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Christian Williamson - 29 Jun 2007 12:27 GMT
> Christian Williamson <c.willi@verizon.net>'s wild thoughts
> were released on Fri, 29 Jun 2007 09:40:28 GMT bearing the
[quoted text clipped - 15 lines]
> But yes, you can copy controls. Select them, change tab and
> paste them.

Thanks much, Jan. I'll copy the frame as well, right?

> --
> Jan Hyde
>
> https://mvp.support.microsoft.com/profile/Jan.Hyde
Jan Hyde (VB MVP) - 29 Jun 2007 13:58 GMT
Christian Williamson <c.willi@verizon.net>'s wild thoughts
were released on Fri, 29 Jun 2007 11:27:58 GMT bearing the
following fruit:

>> Christian Williamson <c.willi@verizon.net>'s wild thoughts
>> were released on Fri, 29 Jun 2007 09:40:28 GMT bearing the
[quoted text clipped - 17 lines]
>
>Thanks much, Jan. I'll copy the frame as well, right?

It's best to have one frame on each tab containing all other
controls you want on that tab, it will make your life easier
in the long run.

If I understand what your doing then yes, set up your first
tab then just copy the frame to the next tab which will in
turn copy all the controls in the frame.

J

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.