XPP v220.127.116.11 on Windows Server 2012
I'm trying to change the background color of a whole row of cells in a table. These items are new items and I need them to be easier to see. We've already used the main foreground colors to highlight other items at different stages that show well in print like cyan, red, magenta, and the other foreground colors do not show up well when printed, so my option is now limited to change the background of the row of items.
The foreground colors we don't use do not show up well because the print is so tiny and thin. And we cannot change the font size as each table row is packed with information.
I've tried these things all in a single macro called <inscolor>.
<co;8><chgrow;pt;;20><co;0> (supposed to change background color to yellow (color 8) at pattern 20%, but only changes to gray 20% background)
<chgrow;fcell;20;8;0> (supposed to change fill of cells to yellow (color 8) at 20% but only changes it to gray 20% background).
We've had this problem in previous versions of XPP (v7.2) where we could change the background color of text outside a table, but not inside a table using <chgrow> or other methods.
Have any ideas for me to try? Have you found something that works in a table?
This is not a bug. What you (and Chris) are both missing is that the delivered xy_sys <chgrow> macro only takes two arguments - not three or more.
So you cannot just do <chgrow;fcell;20;8> (or <chgrow;fcell;20;8;0>) as <chgrow> will only do anything with the first two "fcell" and "20" arguments.
As far as your attempting to do <co;8><chgrow;pt;;20><co;0>, well that just does not work on a number of different levels.
Not sure the "best" way you want to get your desired results, but one option would be to do it with just a single <fcell> where you are currently placing the <chgrow> (i.e. in the first cell of the row) - use the value "table" for the width argument of <fcell> to apply the tint to the entire row (or technically "rest of the row" if you don't have the <fcell> in the first cell).
Another option is to define a custom macro that specifies most or all of the desired arguments to <fcell> and then use that in a <chgrow> macro. Your custom macro (to be used with <chgrow>) can have one argument to be able to variably specify at least one of the <fcell> arguments.
Or if you really are overly confident in your ability to type the correct number of semicolons: <?fcell;20;8;;0;0;;;table;cell?> (or something in that order) The point that I am trying to make is that the chgrow macro is not the correct way to set patterns in a table. A single fcell macro will do what you need. And if you hate (like me) the semicolon jungle, you can split the fcell in any combination of fpat, ftype, fmcolor,....