Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Adding controls dynamically to frame or picture box during runtime


Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2004, 10:25 PM
Lonely Tower Lonely Tower is offline
Newcomer
 
Join Date: Jan 2004
Posts: 1
Default Adding controls dynamically to frame or picture box during runtime


Say I am creating controls on the fly by using control arrays. How do I add the new controls to a frame or a picture box, instead of onto the main form
Reply With Quote
  #2  
Old 01-02-2004, 10:43 PM
passel's Avatar
passel passel is offline
Sinecure Expert

Super Moderator
* Guru *
 
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 7,714
Default

Set the Container property of the control to the frame or picturebox you
want.
__________________
There Is An Island Of Opportunity In The Middle of Every Difficulty.
Miss That, Though, And You're Pretty Much Doomed.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding controls during runtime weiyen Word, PowerPoint, Outlook, and Other Office Products 4 09-26-2003 10:17 AM
Adding PictureBox with Picture dynamically ... vb_programmer Interface and Graphics 1 09-12-2003 07:25 AM
Adding Controls Dynamically without a Control Array Draco97 General 2 11-04-2002 08:30 PM
Adding controls at runtime! vbnow General 11 07-12-2002 06:12 AM
Adding ActiveX controls at runtime amram71 General 0 10-30-2000 08:28 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->