Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Over?
Message
De
06/09/2001 03:33:35
 
 
À
05/09/2001 22:32:59
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00552362
Message ID:
00552994
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
If you want to make it a little more generic, create a class of Hyperlink labels (HPLabel) and put in the form's MouseMove event.
This.SetAll('FontBold',.F.,'HPLabel')
This will allow for multiple hyperlinks on one form without having to specify each one in the form's MouseMove.


>It works perfectly, thank you!
>
>
>>>I wanna make some text on a form work as hyper-link in web pages, but seems there's no mouseover events, any idea?
>>>
>>>Thanks in advance,
>>>Jimi
>>
>>You can combine the MouseMove events for both a label control and the form's, so then you can reset the label's original settings when the mouse moves out of the label area:
>>For example, in the label's MouseMove event you could put:
>>
This.Fontbold = .T.
>>And in the Form's MouseMove event:
>>
This.Label1.Fontbold = .F.
>>Achieving the desired effect.
>>
>>Hope this helps.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform