Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want to make toolbar like IExplorer
Message
From
18/01/1997 20:19:23
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017781
Message ID:
00017788
Views:
66
>I been pondering the thought of creating a toolbar that looks and behaves like that in IE 3.0. When your mouse is over it, you get that 3D look and the icon changes to a colored version etc. When it's disabled it looks like a disabled command button. Now I think I'll have to create an invisible button of some sort and have the 3D border become visible, an action similar to the ToolTip event. Soliciting ideas, thoughts, opinions and whatever else you conjure up.
>
tri-state buttons are defenetly the way the UIs are going for
MSIE , NS4 beta, VB5. beta, Memphis beta etc. all have this

to implement it in VFP5.0 is very simple

take a control or a container drp an impage inside it
in the init even of the container resize the image to be a little smaller than the container
set properties for default picture, mouseover picture and clicked picture
now it is just a matter of playing a little with the mousemove,mousedown and mouseup events to reflect the different states

the reason I told you to make the contained image a little smaller is so thatyou can use the image mouseover event to reset the image to the default
I have written such a control and will posted as a tip in VFUG if there will be much demand

Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform