I am trying to move right-justified numeric data in a grid left a couple of spaces to get some white space instead of having the numbers jammed up against the line of the column separator.
The answer seemed obvious: put a format into the inputmask property of the column. I found that entering "9999 " in the inputmask worked great, except that it printed the quote marks. When I removed the quote marks, the display ignored my trailing spaces and jammed the numbers against the line again. I tried 9999AA and it printed the A's. Apparently, trailing spaces are ignored, but any other characters are simply printed out.
It seems that the column inputmask overrides the textbox inputmask and the column alignment overrides the textbox alignment, just from trial and error.
I need for the values to stay numeric, if possible. I assume that I could use the old faithful TRANSFORM() with a format string and print characters, but I hope to find a better way.
Can anyone suggest a simple solution? Thanks in advance!
--Dick (a sometimes frustrated C++ veteran)![[bigears] [bigears] [bigears]](/data/assets/smilies/bigears.gif)
The answer seemed obvious: put a format into the inputmask property of the column. I found that entering "9999 " in the inputmask worked great, except that it printed the quote marks. When I removed the quote marks, the display ignored my trailing spaces and jammed the numbers against the line again. I tried 9999AA and it printed the A's. Apparently, trailing spaces are ignored, but any other characters are simply printed out.
It seems that the column inputmask overrides the textbox inputmask and the column alignment overrides the textbox alignment, just from trial and error.
I need for the values to stay numeric, if possible. I assume that I could use the old faithful TRANSFORM() with a format string and print characters, but I hope to find a better way.
Can anyone suggest a simple solution? Thanks in advance!
--Dick (a sometimes frustrated C++ veteran)
![[bigears] [bigears] [bigears]](/data/assets/smilies/bigears.gif)