Home » Community » Newbie corner » Coloring a row in a SqlArray
Re: Coloring a row in a SqlArray [message #50210 is a reply to message #50186] |
Mon, 27 August 2018 13:16 |
Giorgio
Messages: 218 Registered: August 2015
|
Experienced Member |
|
|
mirek wrote on Mon, 20 August 2018 08:43
Or you can AddIndex to store the value that you wish to use for the color, then either setup Display based on the index or just test this index in ColorLines.
Hi Mirek,
thanks for the answer, the AddIndex() method worked as a charm.
Before you answered, to fix this issue, I added a "hidden" column (a column with a width of -1) containing the value used to color the lines. That worked, but the user was able to see that value if he manually changed the column width. I searched for a method to make the column really hidden, but I did not find it (there is a Hide() method, but is for Ctrl). So, just to get to know better UPP, does such method exist?
Regards,
Gio
[Updated on: Mon, 27 August 2018 13:16] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jun 10 08:42:18 CEST 2024
Total time taken to generate the page: 0.02536 seconds
|