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.





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

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.

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...