Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Controls in Frames at runtime 1

Status
Not open for further replies.

tenbobmillionaire

Programmer
Jun 13, 2000
27
0
0
EU
Can anyone help? I have a form with a frame containing 2 option buttons (all control arrays). I need to add frames at runtime depending on a user selection. I know you use load frame(i), load option1(i) etc, but how do I load the option buttons into the newly created frames and not all in the same original frame? Is this possible? Is there some kind of 2D control array function? Does this make sense?
Thanks in advance
Mick
 
By setting the container property.

e.g.

Set optTest(i).Container = fraTest(i)


Hope this helps,

Rob.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top