Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Coloring
Message
From
27/06/2001 08:06:15
 
 
To
27/06/2001 04:18:34
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00524001
Message ID:
00524041
Views:
18
Hi!

In the FAQ article where you took this code from there was:
with poColumn
  ...
  .DynamicBackColor = "iif(recno('" + .parent.RecordSource +;
    "')=this.nGridRecNo," + allt(str(lnColor))+ "," + allt(str(.BackColor)) + ")"
  ...
endwith
Do you see difference? This code is for column, not for grid.


>Hi Vlad,
>
>I was busy about another thing and just tried your Grid coloring codes in the FAQ session today, but it says:
>"Expression is invalid. Use a valid expression for DYNAMICFORECOLOR property."
>when I run the code, do you know why?
>
>Just using the same code from you:
>
>MyGrid.DynamicBackColor = "iif(recno('" + .parent.RecordSource +;
>"')=this.nGridRecNo," + allt(str(lnColor))+ "," + allt(str(.BackColor)) + ")"
>
>
>Jimi
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
Reply
Map
View

Click here to load this message in the networking platform