Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change The Shape of a Container
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01219002
Message ID:
01220054
Vues:
20
Hi Kevin,

>Wow. That's a lot of files!

We know that.
We're still in ALPHA at GdiPlusX.
For the next release, we're planning to convert most of the VCX's into just one Procedure PRG. This way, the size of the library will be significantly reduced, and it will run much faster too, and the usage will be easier.

About the commands, nothing will change, allthe functionality, and commands will remain as they are.


>I'm just trying to create a simple tab strip control. I already have one, but I'm trying to make it look more 'WinXP' style.
>Maybe there's already a tab strip control out there somewhere??

Although it's possible to make it using the GdiPlusX library, I agree with you that you should look for some other controls that were already created.

>1) Is it possible to create this style of gradient effect on a container
>at runtime? How?

That's not complicated.
You can create a small bmp of one pixel wide, and about 10 pixels height, and point the container's picture property to this gradient BMP. Emerson Reed used this technique to create his cool OutlookBar2003 (VFPX project).

A good start is downloading hisproject and seeing how he did it... Very simple. In my blog I've posted some several times some codes to create gradients.

In your container, you can add any other controls, but make sure to use the BackStyle to Transparent.


>2) Can I create an image who's background area is transparent?

Yes, the best option is to use PNGs, that accept transparencies, and are supported by GDI+ and the VFP Image control.

GIFs also accept transparencies, but are not fully supported by GDI+. Anyway, you can use any transparent GIF created by another application, without any problem.

Hope this helps

Cesar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform