Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 23rd, 2006, 10:51 AM
Registered User
 
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is there a container control in VBA?

Can some one help me with this.
I am trying to move a group of text boxes and labels together on a form. Is there some container control that will allow me to do this. Trying drag a panel gives me an error msg. And i found notes on the Web it sometimes does that. Is there any other way i can move these controls together. I tried putting it on frame . but the frame shifts byitself without moving the control.
Thank you
Sangeeta

Sangeeta Michael
 
Old March 23rd, 2006, 10:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

the frame is a good solution.. probably you put the frame and the controls not into the frame but into the form and then move the controls in front of the frame.. did i xplain it well??

anyway, put the frame and them put the controls inside the frame (not into the form and then into the frame)...

then the controls will be attached to the frame...

HTH

Gonzalo





Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Arrays in VBA? Sanchin Excel VBA 3 March 24th, 2008 04:20 PM
Placing existing control in newly added container morbidreich Beginning VB 6 1 December 27th, 2007 11:14 PM
Problem with ActiveX Control Test Container anup_daware Visual C++ 0 September 25th, 2006 01:40 AM
Custom Container Control bmains .NET Framework 2.0 0 April 20th, 2005 02:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.