Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change tab colours (In a Class)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00411197
Message ID:
00412187
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform