Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Style MouseEvents In VB
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00589015
Message ID:
00589063
Views:
23
Kevin,

Do you mean VB or VFP7?

In VFP you can do stuff like this.BorderColor = rgb( 255, 0, 0 ) in the MouseEnter() and this.BorderCOlor = rgb( 0, 0, 0 ) in the MouseLeave().

I am having mixed results in getting the the events to actually fire though in horizontal and vertical lines. Because no matter how wide you have BorderWidth set the event only triggers when you are at the center of the line.

>Can someone show me how to determine MouseEnter and MouseLeave
>events for a Line control in VB?
>
>I want to know when the user moves the mouse over the control,
>and I want to be able to code for both the mouse entering and
>leaving the control.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform