Hello all,

These 4 statements are in the INIT of a grid.

Any idea why statements 1&4 work and 2&3 do not?

Why won't FontItalic take an expression that evaluates to a logical?

ERROR: "Data type is invalid for this property"


*1
This.SetAll("DynamicBackColor", ;
            
"Icase(vConfCurrent.Role=[A],Rgb(150,255,255),vConfCurrent.Role=[V],Rgb(255,205,205),Rgb(255,255,255))",
 "Column")

*2
This.SetAll("FontItalic", ;
            "Icase(vConfCurrent.Role=[A],.F.,vConfCurrent.Role=[V],.T.,.F.)", 
"Column")
            
*3
This.SetAll("FontItalic", ;
            "Iif(vConfCurrent.Role=[A],.F.,.T.)", "Column")

*4
This.SetAll("FontItalic",.T.,"Column")


What am I missing?

Thx,

Henry


_______________________________________________
Post Messages to: ProFox@leafe.com
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