Problems printing a field copied from a datagrid [SOLVED]
Posted: Wed Sep 10, 2014 4:54 am
I have a weird problem that perhaps someone can help me solve.
I have a perfectly working datagrid and I can load in data to all columns
I created a print button and a save button.
The save button, which works 100%, I copy the highlighted datagrid data to a hidden table field and then save that data.
So far so good.
Same routine with the print button, when it prints (using the code: revPrintField the name of field "fldPrintText") it prints,
but ALL the text prints with a black background. I am assuming that it is printing the blue highlight of the datagrid, which is
visual feedback to the user for what is selected (but not printing as blue, it's printing it as black).
I have tried defining the table field with a white background, black text, opaque, etc. in the inspector and it still prints black on black.
Very annoying and very not useable. If I choose to print to a pdf using a pdf print driver, I get the same result (which is good because I
don't waste so much ink).
How can I change the text background to white and the font color to black so it prints properly and reliably?
Mike
I have a perfectly working datagrid and I can load in data to all columns
I created a print button and a save button.
The save button, which works 100%, I copy the highlighted datagrid data to a hidden table field and then save that data.
So far so good.
Same routine with the print button, when it prints (using the code: revPrintField the name of field "fldPrintText") it prints,
but ALL the text prints with a black background. I am assuming that it is printing the blue highlight of the datagrid, which is
visual feedback to the user for what is selected (but not printing as blue, it's printing it as black).
I have tried defining the table field with a white background, black text, opaque, etc. in the inspector and it still prints black on black.
Very annoying and very not useable. If I choose to print to a pdf using a pdf print driver, I get the same result (which is good because I
don't waste so much ink).
How can I change the text background to white and the font color to black so it prints properly and reliably?
Mike