do
set Frame5.Container = Frame2
Main Topics
Browse All TopicsI have a frame (frame 'child') (with controls nested in it). This frame is itself contained in another Frame (Frame 'A').
Now, based on the user preferences I wish to move the frame (frame 'child') to another container frame ('frame B').
So, how would I do this?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: mccainz2Posted on 2006-05-03 at 15:13:40ID: 16600949
ADDENDUM....
Here is the txt from a form file that illustrates the concept.... and why it isnt working as intended
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3165
ClientLeft = 60
ClientTop = 375
ClientWidth = 4635
LinkTopic = "Form1"
ScaleHeight = 3165
ScaleWidth = 4635
StartUpPosition = 3 'Windows Default
Begin VB.Frame Frame1
Caption = "Frame1"
Height = 2985
Left = 60
TabIndex = 0
Top = 60
Width = 4515
Begin VB.Frame Frame2
Caption = "Frame2"
Height = 1125
Left = 180
TabIndex = 2
Top = 270
Width = 1695
End
Begin VB.Frame Frame3
Caption = "Frame3"
Height = 1545
Left = 2130
TabIndex = 1
Top = 330
Width = 2325
Begin VB.Frame Frame5
Caption = "Frame5"
Height = 825
Left = 690
TabIndex = 4
Top = 180
Width = 1515
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 315
Left = 330
TabIndex = 5
Top = 330
Width = 1035
End
End
End
Begin VB.Frame Frame4
Caption = "Frame4"
Height = 1215
Left = 390
TabIndex = 3
Top = 1560
Width = 1605
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Frame5.Container = Frame2
End Sub