Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Icon does not appear in Explorer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00027344
Message ID:
00027954
Vues:
30
>Now that I know how to get 2 icons in the same file, how can I select >which icon is displayed. I would like to implement a small/large icons >options for my toolbars.
>Steve

Steve,

The problem with the Image Editor is that you can have only one
icon of type in a file. Ideally, you'd want to have all the
icons in the file. While I have a rough idea of how to do it, I've
never done it.

The trick for the command buttons is to use the 3D ActiveX ones,
rather than the Standard. These allow for a picture object. You
could then use the PicClip Control to create a bitmap with the
individual states for each button. Of course you'd need two of
these controls, one for each size.

I've limited experience with both of these controls, so if
something I write here doesn't quite turn out the way I say,
don't be too upset. However, it seems as if the images on the
ActiveX controls are transparent. This would allow the background
color to show through. Further, if sized properly, it looks as
if you can have both the picture and caption on the button.

The other control that might help is the 3D Group Push Button.
This has some different properties than the other and doesn't
seem to support captions. It will, however, allow to to define
the different button images at design time and gives very tight
programmatic control.

One thing I am sure about concerning the PicClip control is that
you can size the form so the control is beyond its boundaries.

The good thing about using PicClip is that it allows you to have
all of the images in one file, and allows easy access.

Good Luck,

George
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform