Solved

about control array

Posted on 2002-03-12
2
125 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Ryan Chong earned 20 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month3 days, 15 hours left to enroll

630 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