Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add image to the Toolbar ?
Message
 
To
09/02/1999 11:07:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00184681
Message ID:
00185579
Views:
47
>George,
> Sorry that to make you confused.
> Actually I want a button but not a toolbar with the effect the toolbar have. Since the toolbar is a bar of control button.
> I just want a button, to place in to my form.
> do you know how to do it ?
> How to set the button backstyle to transparent ?
>
>regard,

Hi chang,

From what I understand you want a regular button that has an image over it that acts like the Internet Explorer toolbar. While you can't make the button transparent, you can make it invisible by setting the .Style property to 1 - Invisible.

To simulate the toolbar button, I'd try an image control. It has a number of properties that are similar to the command button, but won't automatically take care of a disabled appearance. In order to gain the effect you want, in the MouseMove event of the image change the picture property to the desired image. In the form's MouseMove event, change it the Image's picture property to the the other desired image. To get a disabled appearance, you'll have to set the .Enabled proprety of the image to .F. and check that in the Form's MouseMove event.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform