Advertisement

07.01.2006 at 06:51AM PDT, ID: 21905656
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

better approach for tracking the mouse

Asked by Mark_FreeSoftware in Visual Basic Programming

Tags: ,


To have labels highlighted when the mouse moves over them, i use the first code snippet in a form and the secondary in a module

the problem is, that i have to type the first snippet for each label.
how can i do this easier?


code snippets:

'=================first snippet (form):================

Private Sub lblX_DragDrop(Source As Control, X As Single, Y As Single)
   Public_DragDrop Source, X, Y

   'some other code to be executed here,
   'because the click event is rendered useless.....

End Sub

Private Sub lblX_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
   Public_DragOver Source, X, Y, State
End Sub

Private Sub lblX_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
   Public_MouseMove lblX, Button, Shift, X, Y
End Sub

'=================end of first snippet================


'=================Second snippet (module):================

Public Sub Public_DragDrop(Source As Control, X As Single, Y As Single)
   Source.ForeColor = vbBlack
End Sub

Public Sub Public_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
   If State = vbLeave Then
      With Source
         .Drag vbEndDrag
         .ForeColor = vbBlack
      End With
   End If
End Sub

Public Sub Public_MouseMove(Source As Control, Button As Integer, Shift As Integer, X As Single, Y As Single)
   With Source
      .ForeColor = vbWhite
      .Drag vbBeginDrag
   End With
End Sub
'=================End of second snippet:================Start Free Trial
[+][-]07.01.2006 at 07:44AM PDT, ID: 17023979

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.01.2006 at 11:47AM PDT, ID: 17024466

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.01.2006 at 11:48AM PDT, ID: 17024468

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.01.2006 at 07:27PM PDT, ID: 17025319

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2006 at 02:50AM PDT, ID: 17026219

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2006 at 04:15AM PDT, ID: 17026327

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Basic Programming
Tags: mouse, label
Sign Up Now!
Solution Provided By: gafoorgk
Participating Experts: 5
Solution Grade: A
 
 
[+][-]07.02.2006 at 04:19AM PDT, ID: 17026332

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2006 at 04:22AM PDT, ID: 17026338

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2006 at 04:31AM PDT, ID: 17026359

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2006 at 09:37AM PDT, ID: 17027115

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.04.2006 at 08:07PM PDT, ID: 17039965

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2006 at 04:36AM PDT, ID: 17041680

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.05.2006 at 12:09PM PDT, ID: 17045434

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2006 at 02:01PM PDT, ID: 17046350

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32