Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting a grid
Message
From
04/12/2001 09:47:17
 
 
To
04/12/2001 09:39:56
Ian Johnston
Computer Software Solutions
Woodland, California, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00589100
Message ID:
00589260
Views:
24
Hi!

Why you doing that in the When event (just noticed that)???
Do you want to do not show rows colored when grid has no focus?
Usually this code is in the Init of the grid.

Just check if that code line is running at all as you suggested (put DEBUGOUT or messagebox() there or something like that).

Also, when thid does not works, maybe, somewhere else this property (DynamicBackColor) is re-assigned?

>I tried this , it does not appear to help. Were you able to make it work ?
>
>
>>Hi!
>>
>>See correction in bold. You have to use alias, because record source alias for grid could be not current when grid is refreshed.
>>
>>>I am converting a grid from 6 to 7. The following line of code is in the when method :
>>>This.column1.dynamicBackColor = "iif(alltrim(MyAlias.loc_highway_group) = 'X',rgb(255,0,0),rgb(255,255,255))"
>>>
>>>It works fine in 6 , turning the column the appropriate color, but no color at all in 7.
>>>
>>>Anyone any ideas...
>>>
>>>Ian
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform