>hi hilmar,
>
>did a google and found this article
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q186123>
>it says not use coolbar activex control in visual foxpro.
>
>any more help?
The search gives many more hits; for instance,
http://msdn.microsoft.com/library/en-us/dv_foxhelp/html/samcreate_coolbar_control_effects.asp points to sample code (foundation classes) for VFP 8. Also, there are third-party products that do the same.
To make your own class with this capability, you could use MouseOver Event to check when the mouse is on the button. In the Event, you can change the picture.
I am using VFP 6; in some later version - 7 or 8, I am not sure - there are specific events to detect when the mouse enters an object, and leaves an object. That would be easier to manage, in this case.
I can't find a property that would make the borders dissapear.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)