Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 + MouseEnter, MouseLeave
Message
From
28/12/2004 06:17:26
 
 
To
28/12/2004 05:47:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972508
Message ID:
00972512
Views:
19
Hi Cetin!

Thanks for advice - but how can I set the color back when using MouseMove?

What I want:
MouseEnter -> Color = red
MouseLeave -> Color = black

Thanks!

>>Hi all!
>>
>>In our hotel-software we have a graphical roomplan which displays the rooms (y-axis), days (x-axis) and the reservations; lines make up gridlines (own class; baseclass = line) in the background - used for orientation.
>>
>>If you want to know on which day a reservation ends you need to follow the according gridline to the top where the days are displayed.
>>It would be nice if the gridlines could change the forecolor from black to eg red when the mouse "enters" the line and set the color back to black if the mouse "leaves" the line.
>>
>>How could I do this in VFP6?
>>
>>Thanks for help!
>
>Robert,
>Gridlines do not have color property for a particular one. They change grid wise. However you might change the header color (column.mousemove) or display a line object at top pointing to endline.
>I noticed after writing this you say own class-line. Then you can change the color of line in column.mousemove.
>Cetin
robert.oh.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform