Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change the Background color of my UT screen?
Message
From
25/04/2001 16:49:19
 
 
To
25/04/2001 14:16:37
General information
Forum:
Level Extreme
Category:
Other
Miscellaneous
Thread ID:
00499751
Message ID:
00499850
Views:
24
>I would like to change the background color of my UT screen to white, as it says that "Leave blank if you wish to have the default colors. If you enter a color, it needs to be entered in a 6 character format. A color entered in a word, such as WHITE or RED, won't work", what should I enter? Is that something like RGB() settings?



Here's a piece of VFP code that will return the HTML equivalent of a selected color:
#DEFINE HexValues	"0123456789ABCDEF"

LOCAL nColor, cColor, nLoop

nColor = GETCOLOR()
cColor = ""

FOR nLoop = 0 TO 5
	cColor = cColor + SUBSTR(HexValues, BITAND(BITRSHIFT(nColor, nLoop*4), 15) + 1, 1)
ENDFOR

_CLIPTEXT = cColor
MESSAGEBOX(cColor)
Sylvain Demers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform