Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Over?
Message
From
06/09/2001 03:33:35
 
 
To
05/09/2001 22:32:59
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00552362
Message ID:
00552994
Views:
13
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform