Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

about control array

Posted on 2002-03-12
2
Medium Priority
?
128 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 54

Accepted Solution

by:
Ryan Chong earned 80 total points
ID: 6856058
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
ID: 6859646
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

885 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