Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gradient colors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01027128
Message ID:
01027487
Vues:
14
> Too many functions and properties missing to do it that way
> (like scalemode, line etc).
> GDI+? I would think so.
> 1. Create a graphic object
> 2. Create a rectangle object add the LinearGradientBrush to it.
>
> And paste it on your form, container or shape.

Unfortunatly GDI+ (or even GDI) does not work well here. You can draw to the form easy enough and hook into the Paint event. The problem is you need to paint between layers (on top of the container and under the controls) you cant do that with the way VFP handles form rendering.

Probably the best you could do is draw to the location and size of the container or shape and mask off any controls you find on top of the container or shape. Such that you are cutting out a template and laying it over the form. This could get tricky with XP themes...with their rounded buttons...

Bo Durban
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform