Solved

about control array

Posted on 2002-03-12
2
124 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 65
to transfer string from C lanaguage to VBA 4 85
Convert VB6 MSXML2.ServerXMLHTTP process to C# 2 81
IF ELSE Statement in Excel Macro VBA 16 100
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

734 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