Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@ GET COLOR not setting correctly
Message
From
22/04/2007 18:28:32
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
@ GET COLOR not setting correctly
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01218709
Message ID:
01218709
Views:
66
GET edit region does not change regardless of the COLOR RGB setting. ?! It will display correctly from the command window to the system window, but not in my program that displays the screen. It is not being overwritten either.

Update: Ok, if I add a SAY (I added it below) the "JAY:" changes to the correct color, but the edit area does not change. Anyone know why? Thanks!

Update 2: Ok, I figured it out. Needed this:
	COLOR ,&get_color,,,,,,,,&disabl_color ;
@ ( sch_disp + 0.9 ) * row_incr, 54 SAY "JAY:" GET disp_doc ;
	FONT "Arial", 8 ;
	SIZE 1, 2 ;
	COLOR RGB(0,0,128,0,255,255) ;
	VALID v_doc() ;
	ERROR ( msgerror )
Reply
Map
View

Click here to load this message in the networking platform