Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
Created:
Feb 18, 2022 02:31 PM
| Last Modified: Jun 9, 2023 11:11 AM(2346 views)
Hi. I'm wondering if there's a way to center justify the values in a NumberColBox. I have a GUI and it would help make things more readable to the user if all my columns were center justified. I can center justify strings in a StringColBox using << Set Justify(center), but I see no corresponding option for a NumberColBox. I'm aware I could convert all my numeric values to text and use a StringColBox instead, but I was hoping a more elegant solution might exist.
The Script Editor is the definitive documentation for the messages and options available to the NumberColBox and I do not see a message or option that will set the justification. I have used your stated work around, converting to a string, many times, and find that it works well.
Thanks Jim. I was curious though, how do you convert a vector of numbers to a list of strings? E.g. [1, 2, 3] --> {"1", "2", "3"}. Is there a way to do this without using a for loop?