Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 + MouseEnter, MouseLeave
Message
De
28/12/2004 06:17:26
 
 
À
28/12/2004 05:47:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00972508
Message ID:
00972512
Vues:
20
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform