Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different color row highlights for diff. criteria on a g
Message
From
07/08/2006 04:33:05
 
 
To
07/08/2006 04:24:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01143188
Message ID:
01143377
Views:
10
>Thanks very much Aaron
>
>However, I have not been successful with your code yet. Could be adaptation problems.
>
>In
>
>ogrd.SetAll("DynamicBackColor", "thisform.getAge(client.age,client.sex)", "Column")
>
>
>Could you please explain client.age, and client.sex, how used, and how linked/adapted to the code created in the new method created? Is the method created in a grid class itself?
>
>Thanks very much!
>
>Regards,
>
>Steve.

To get this to work, you must make getage a method of your form. You can also add the Getage function to a procedure file which is specified by Set Procedure, or you can let it be a separate file Getage.prg. In that case, you use this syntax
ogrd.SetAll("DynamicBackColor", "getAge(client.age,client.sex)", "Column")
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform