Jump to content

'Text After' section under Numerical box Properties


Recommended Posts

It would be great if this could have the dual function of entering direct text or assigning a tag like the min and max allows. While I am at it, it would also be helpful if the decimal places could be handled this way as well. As an example, right now if I want the text after to indicate units i will overlay four numerical boxes with mm, in, ft, and m in the text after utilizing the visibility tag to display the unit preference of the user. If you add decimal places as a user preference, take, 0, 0.0, and 0.00, that is none, one, and two, if the device that populates the numerical tag has a sufficient resolution for two (2) decimal places when the smallest unit is selected  then twelve (12) boxes are required to be overlaid utilizing the visibility tag.  In my application i can only allow one decimal place if mm are chose. So with five (5) difference inputs I have fifty-five 55 numerical boxes on one screen with only five (5) numerical boxes being visible at any time. All of this applies while using INT's. The decimal place situation can be alleviated if I chose toe use REAL instead of INT for the display and user input tags. My point is that I have been down this road thoroughly and I don't believe I am missing something here, but please if I am let me know. Because the conclusion i keep coming to is that it would be very helpful if the text after feature could be tagged. 

Link to comment
Share on other sites

  • MVP 2023

We ran into this with a customer who wanted decimal pounds or integer grams with the units displayed.

I would convert your number into text inside your code and then display a string.  Then you can make it look however you want on the fly.

Joe T.

Link to comment
Share on other sites

2 hours ago, Joe Tauser said:

We ran into this with a customer who wanted decimal pounds or integer grams with the units displayed.

I would convert your number into text inside your code and then display a string.  Then you can make it look however you want on the fly.

Joe T.

Thanks Joe. That's actually the best solution thus far. 

Link to comment
Share on other sites

1 hour ago, sgull said:

Would it be easier to have 4 different screens for the 4 units.

depending on what units the user selects, call the relevant screen and ignore the others.

There is a lot of other information on the screen. Depending on the situation this could be a more efficient. Thank you for your response. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...