on 05-05-2008 1:38 AM
Hi All
Could someone please tell me how to change a color of a text in a table cell - programatically - I have to display a value in red if its value is less than a certain value.
Thanks
Points will be rewarded
Hi Liem,
Use the follwing code to change color:
if ( <Fieldname>.rawValue > 500 ) then
<Fieldname>.caption.font.fill.color.value = "200,10,10"
endif
Here <Fieldname> is assumed to be the field for which you want to change the colour. suppose the value for it is greater than 500 it will become red and for values less than 500 it will be the default colour or you set in its properties.
Hope it will be helpful.
Regards,
Vaibhav Tiwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.