Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with arrays/ Do loops

Status
Not open for further replies.

MrMoocow

Programmer
May 19, 2001
380
US
Okay people thanks for all you help but I have run into a new obstacle. Since I have taken no actual classes i don't understand arrays well, Anyway heres the situation:

I have a control array dcharge
each time a timer fires I need all dcharges(1-Infinite) to move down ( dcharge(number).top = .....

I have a general idea but I need some one to help me with this thanks.
 
Control arrays start with 0 and there need not be successive indexes if you Unload ed any.
Code:
Dim objCtl as object
For Each objCtl in DChange
    if objctl.Index > 0 then
        objCtl.Top = objctl.Top + ???
    End if
Next
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top