We help IT Professionals succeed at work.
Get Started

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

jazjef asked
Last Modified: 2015-09-15
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.
Watch Question
Social distance - Wear a mask - Don't touch your face - Wash your hands for 20 seconds
Most Valuable Expert 2017
Distinguished Expert 2020
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE