Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Control Arrays (again)....


Reply
 
Thread Tools Display Modes
  #1  
Old 04-09-2002, 03:38 AM
ROBSON_SP
Guest
 
Posts: n/a
Default Control Arrays (again)....


Hi

If I add a control arrays of frames to a Form and then delete the frames then it appears that the control arrays still exists in the Properties Window in VB. Why is this?

Can anyone point me to somewhere that will tell me how to use control arrays?

Thanks



Sorry, I've found out why. Someone has set the Left property to be -10000 for each of the ones I didn't delete.
Reply With Quote
  #2  
Old 04-09-2002, 05:11 AM
Bucky's Avatar
Bucky Bucky is offline
A+ Certified Nerd

Retired Leader
* Expert *
 
Join Date: Dec 2001
Location: East Coast
Posts: 1,763
Default

Just so you know, to make a control NOT part of an array, first change its Name and then remove the Index property of the control. The Index property determines the control's number (Index) in the array. VB automatically sets Index when you place a new control in an array, but it can be changed.
__________________
If you're not part of the solution, you're part of the precipitate.
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

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
 
 
-->