kabila
Posts: 30
|
Posted: 10/12/2004, 4:35 PM |
|
In a Grid control, I would like to display blank when the value of the labelfield is 0; and display otherwise.
On the same logic, if the value is negative, I would like to display red (number).
Appreciate any pointers. I am thinking it is somewhere around the Format attrib of the field, and use something like (0.#;[Red]0.#) - Is that correct, and how do you specify the Mask string?
thanks
-Sam
|
|
|
peterr
Posts: 5971
|
Posted: 10/13/2004, 3:42 AM |
|
Sam,
This section of CCS Tutorial shows an example of how to change a field's value or color: http://docs.codecharge.com/studio/html/QuickStart/Creat...FieldValue.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|