Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hot Tracking Label Button
Message
 
To
09/10/2004 19:48:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00950207
Message ID:
00950244
Views:
33
>I now have a button that looks like a label until you mouse over it. Then, the hot tracking effect makes it look like a button. What I would like to do to complete the effect is as follows :-
>
>1) When the mouse is over the button, display a picture that is totally left justified.
>2) At all times, display the text caption that is totally right justified.
>...

I never tried, but how about a custom control instead of a standard-Button. This could have an Image and a label. You'd have a lot more power over the positioning and visibility.

Another approach I used (ages ago, when VFP7 just came out) was using an ole-Control. In this case it was ctPush a button by DBI, that allowed perfect positioning of Image and Text. The downside is the problems You get when using ActiveX-Controls in VFP.
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform