Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Header BackGround Color
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00092321
Message ID:
00092368
Vues:
21
>Hi,
>
>I'm trying to change a cGridList Column Header BackGround Color (to indicate if it's a sortable column or not) and it's not working. If you try to change the users form in ProjMgr you will see that nothing changes at run time. What should I do ?

I did a bit of investigating and added the VFP Grid baseclass to another page of the users form and experienced the same thing...the backcolor I set at design time did not appear at runtime.

However, if you set the backcolor property in the Header's Init() method, it works fine. Try this:

This.Backcolor = 255

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform