Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change tab colours (In a Class)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00411197
Message ID:
00411222
Vues:
14
>I am trying to set a specific colour on a PageFrame current tab so that it is easily identified when I change tabs.
>(e.g. I want all tabs to be grey, except the current tab which I want Red)
>
>I would like to do this at the class level. So I set up an _assign method attached to the active page event. Now this works fine if I programatically change the Page , but not if I just select a tab by clicking on it.
>Is there maybe another way to have this functionality, at the class level.?
>
>Regards,
>
>Gerard

Gerard,

This is what my PageTabChameleon class is for. (file#9211 in Files Section/Classes-VCX). You also can manipulate the FontName and FontSize of the page tab Caption with it.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform