Solved

Hilight  the command button.

Posted on 2000-03-23
1
134 Views
Last Modified: 2010-05-02
I am new vb programmer and  I need help .
How can I do command button like command button in webpage.
It's a   picture and  change the mask color when the mouse move over
plase give me the sample project  file.
Thank you so much.
0
Comment
Question by:teerawat
1 Comment
 
LVL 28

Accepted Solution

by:
AzraSound earned 100 total points
ID: 2895701
too bad no one helped you with this problem...here is a solution if you still looking for it:

Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If Command1.BackColor <> &H80FFFF Then _
        Command1.BackColor = &H80FFFF
End Sub


Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If Command1.BackColor <> &H8000000F Then _
        Command1.BackColor = &H8000000F
End Sub

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question