Avatar of 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.
Visual Basic Classic

Avatar of undefined
Last Comment
Martin Liss

8/22/2022 - Mon
Mlanda T

And if you remove the control array?
Martin Liss

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thanks a lot Martin Liss .....
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
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck