Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want to make toolbar like IExplorer
Message
 
À
18/01/1997 20:19:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00017781
Message ID:
00017789
Vues:
73
Outstanding Arnon,

Please let me know when you post it because I'd like to implement it. I've been trying to make a control and use a default shape as a button. Now if only you could reverse the color scheme to simulate a pressed button. It would first have to be disabled and being able to enable it and refreshing the control only ONCE when the mouse is in the x,y coords and ONCE when it leaves. This will require an additional custom property to trap the refresh within the envelope of the object.

Keep me posted.

Jon





>>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
Jon Paskett

Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform