Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing the default formatting of signed/unsigned fields
So, if you just create a field text widget and point it at a Card or Int field, and that field is greater tahn 999, you'll get the text formatted such that it uses the digit grouping scheme for your locale, e.g. something like 1,234 instead of 1234.

I don't think that this has ever been helpful, and if anything has caused people problems. And if you really want to format a value that way, the numerical text widget allows you control over that stuff. And it's now also causing a problem with the Logo Image widget which won't work for values over 999 because the image repo path ends up being something like \User\MyLogos\1,341 which doesn't actually work because the image name in the repository doesn't have the comma.

I could remove this and have it just format raw without any digital groupings. And for the most part I think that everyone would prefer that. But, there's the danger that this will break things because people are depending on it being there, or are removing the separator by a naive means like, if length is > 3, delete the 3rd character, which would now remove the actual digit since the separator wouldn't be there.

I could of course just work around this in the logo widget and remove any non-digital characters from the formatted value. But it would be nice if possible to just get rid of this annoyance as long as it's not going to really screw anyone up. So, is anyone knowingly depending on this type of thing? This would also affect how they are formatted in actions I believe as well.
Dean Roddey
Explorans limites defectum

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to have a button go through three options? Such as changing floors? ghurty 6 1,532 04-28-2020, 04:21 PM
Last Post: Dean Roddey
  Changing WebRIVA Splash Image? gReatAutomation 4 1,767 01-07-2020, 05:28 PM
Last Post: gReatAutomation
  Time formatting RunTime Time Variable? gReatAutomation 5 2,143 08-14-2019, 05:23 AM
Last Post: gReatAutomation
  Question on Formatting of Variable Text kblagron 2 2,846 09-07-2018, 08:52 PM
Last Post: kblagron
  Can't add fields to ElkDev driver rbroders 4 2,262 08-07-2018, 06:24 PM
Last Post: Dean Roddey
  WebRiva Chrome Resetting to Default Template Jnetto 1 1,549 01-04-2018, 09:40 PM
Last Post: Dean Roddey
  Changing Field Values in Devices Tab TurboSam 3 2,289 01-01-2018, 02:47 PM
Last Post: Dean Roddey
  Lumagen Radiance fields missing dlmorgan999 14 8,702 02-18-2017, 11:04 AM
Last Post: dlmorgan999
  Field Check Box fields George M 2 2,462 01-25-2017, 04:14 PM
Last Post: George M
  Cant use fields of Denon driver in global actions George M 4 4,002 12-18-2016, 06:21 PM
Last Post: Dean Roddey

Forum Jump:

Users browsing this thread: 1 Guest(s)