Jump to content

String user input required to display in button


Recommended Posts

I want to change the display in a button to a user entered String. I used an Ascii string input with keyboard to take user input and want to display that input in a  button display.   Then in the button  I choose String from library and  I used store direct to copy the address of the new entered string to the button.  But it only display s two asterisks.

Pics attached below.

image.png.9dedaae9cf1c6aac4cdcc32edf4fb029.png

image.thumb.png.ea7d3a775afe0100b4111bf240a764b0.png

image.png.37109f90c19c01b906004b3d0538fe7a.png

 

Link to comment
Share on other sites

  • MVP 2023

Don't try to use the basic button or String Library for this application. Just use the ASCII String function, both to enter the string and to display it. When you display it, add the touch property and make it Style: "Unpressed" so it will look like a button.

Also, you probably don't need to have an entry for "Legal Entry" unless you need to know that the string has changed for other logical purposes.

Use the same MI vector in both places and eliminate that ladder rung 2 above. Be sure you understand that a 17 character string will use a vector of 9 MIs (MI 4 - MI 12).

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.