Link to home
Start Free TrialLog in
Avatar of jazjef
jazjef

asked on

How do I move a label in VB6 when it shares a sub with another label?

For example, I have two labels called Label(0) and Label(1) that are indexed as a control array. I want to use the MouseMove sub to move Label(0), but it also causes Label(1) to move because of their relationship in sharing the MouseMove sub. The two items must be in an array because of other code that operates upon them... anyone know how to deal with this? Thanks.
Avatar of Mlanda T
Mlanda T
Flag of South Africa image

And if you remove the control array?
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jazjef
jazjef

ASKER

Thanks a lot Martin Liss .....
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2015, Experts-Exchange Top Expert Visual Basic Classic 2012 to 2014