Hi Sytse,
The 3rd param in the SetAll method is to specify the class where the
property is set. In this case specifying the column-class isn't needed
because the DynamicBackColor property only applies to the columns.
The SetAll sets all columns DynamicBackColor property to the specified
value. If you want a specific column display in another color, you'll have
to reset the DynamicBackcolor property or at least alter it.
B.T.W. The expression in all the dynamic properties are evaluated in the
scope of the grid, not the column, so using 'this.' in the expression refers
to the grid!

Regards,
Sietse Wijnker


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sytze de Boer
Sent: vrijdag 16 februari 2007 4:48
To: [EMAIL PROTECTED]
Subject: VPF-9 Grid column colors

Hi Foxers
Can someone help me ?

I have a grid with an INIT like:
thisform.Grid1.SetAll("DynamicBackColor","IIF(calltype="IN",RGB(192,192,192)
,
RGB(255,255,255))", "Column")

This give me an easy way to differentiate an IN call from an OUT call,
on different ROWS.

It looks like this prevents me from having a specific COLUMN in a
different color from the rest. Is this true ?
i.e. it does not show the color I specify.
If I remove the dynamicBackColor factor, all is fine.

Why is the SetAll clause referenced with "Column" when the effect is
that the ROWS give me the colors I want.

Sytze


[excessive quoting removed by server]

_______________________________________________
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
** 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