Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change the Background color of my UT screen?
Message
De
25/04/2001 16:49:19
 
 
À
25/04/2001 14:16:37
Information générale
Forum:
Level Extreme
Catégorie:
Autre
Divers
Thread ID:
00499751
Message ID:
00499850
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform