Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color at my grid
Message
From
09/03/2006 05:56:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Color at my grid
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01102695
Message ID:
01102695
Views:
65
hi all,
any idea

i put this code under at mygrid event inti, error message
expretion is invalid.use avalid expression for dynamic back color property
FOR EACH loColumn IN this.Columns
	lcCS = 'this.' + loColumn.Name + '.ControlSource'
	IF TYPE(EVALUATE(lcCS)) = 'N'
		loColumn.DynamicBackColor = [IIF(EVALUATE(] + lcCS + [) < 10, RGB(225, 128, 128), RGB(128,255,128))]
	ENDIF
ENDFOR
thanks
Next
Reply
Map
View

Click here to load this message in the networking platform