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:
00412187
Vues:
13
Gerard,

Try this code in the Click of the PageFrame:


LOCAL nPage, nColor, lBold

FOR nPage = 1 TO This.PageCount

IF This.ActivePage = nPage
nColor = 255 && Red
lBold = .T.
ELSE
nColor = 0 && Black
lBold = .F.
ENDIF

This.Pages[nPage].ForeColor = nColor
This.Pages[nPage].FontBold = lBold

ENDFOR
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform