Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid dynamicbackcolor please
Message
From
20/04/2006 07:24:12
Suhas Hegde
Dental Surgeon
Sirsi, India
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01114862
Message ID:
01114895
Views:
28
this complains to use valid dynamicbackcolor except for the first column


FOR EACH oCol IN this.Columns
oCol.DynamicBackColor = [IIF(oCol.mytext1.oldvalue > ;
oCol.mytext1.value, RGB(0,255,0), RGB(255,0,0))]
NEXT

this.column1.DynamicBackColor = [IIF(nse_feed.change > 0, RGB(0,255,0), RGB(255,0,0))]
this.column1.mytext1.value = ''

*****


this runs but nothing happens except on the first column
FOR EACH oCol IN this.Columns
oCol.DynamicBackColor = [IIF(]+oCol.mytext1.oldvalue+[ > ]+ ;
oCol.mytext1.value +[, RGB(0,255,0), RGB(255,0,0))]
NEXT

this.column1.DynamicBackColor = [IIF(nse_feed.change > 0, RGB(0,255,0), RGB(255,0,0))]
this.column1.mytext1.value = ''

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform