On Wed, Sep 22, 2010 at 1:27 PM, Jeff Johnson <[email protected]> wrote:
> This is in the init of the grid
>
>      .SetAll("DynamicBackColor", ;
>         "IIF(RECNO(THIS.RecordSource) = THIS.ncurrentrecord," + ;
>           "THIS.gridactivebackcolor," + ;
>           "IIF(vtank.cur_ostat = 'S'," + ;
>             "RGB(0,255,0)," + ;
>             "IIF(vtank.cur_ostat = 'A'," + ;
>               "RGB(0,200,0)," + ;
>               "IIF(vtank.cur_ostat = 'D'," + ;
>                 "RGB(0,128,0)," + ;
>                 "IIF(vtank.cur_ostat ='W'," + ;
>                   "RGB(255,0,0)," + ;
>                   "IIF(vtank.cur_ostat = 'C'," + ;
>                     "RGB(0,0,255)," + ;
>                     "THIS.griddefaultbackcolor))))))", ;
>         "COLUMN")
>
> This colors the rows in a grid based on order status.    ;^)
----------------

What are you double rainbow man?

;->
-- 
Stephen Russell

Sr. Production Systems Programmer
CIMSgts

901.246-0159 cell

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to