Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print - Printing a 'white' score on a form

Status
Not open for further replies.

peter11

Instructor
Mar 16, 2001
334
US
I am using a black background. How do i make the score print in a light color?

picbuf.CurrentX = 90
picbuf.CurrentY = 10
picbuf.Print "Score: " & score
 
similar to what you've been doing, set the ForeColor attribute to &HFFFFFF (this is in RGB hex) to make it white; i.e:

picbuf.ForeColor = &HFFFFFF

&H shows VB that you mean this is the hex of a color... the FFFFFF is RRGGBB (red green blue, respectively)...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top