Solved

about control array

Posted on 2002-03-12
2
120 Views
Last Modified: 2010-05-02
for example, i create a control array btn(0),

and load btn(1), load btn(2), load btn(3), load btn(4),

then, unload btn(2).

what is the result?

will btn(3) become btn(2), and btn(4) become btn(3)?

or there is a gap between btn(1) and btn(3)?



thanks
0
Comment
Question by:cc_2000_sg
2 Comments
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 20 total points
Comment Utility
The answer is "There is a gap between btn(1) and btn(3)" if you unload btn(2) .. Because each of the controls in Control Array is treated as different object, unless you assign the object again.
0
 

Expert Comment

by:talluri_28
Comment Utility
hi

if dont want to gap bettwen buttons u have to  set the (top ,left )properties . then it will look no gaps between
buttons.




0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now