how to Clearing the single character before cursor position in TextBox
thank you but i can’t find how to delete a number before cursor position , even so the cursor is in mid of the text
you might want to do some math… there is the length block to find out the length of the textbox.text, just subtract 1 and assign the reduced text again to textbox1.text
see also tip 2 here App Inventor: How to Learn | Pura Vida Apps
Taifun
You can preset the TextBox_Text to blank with blocks. That will clear the textbox.
i want to delete single character not the all of text box
Maybe try this
when the user set the cursor position and click the button , i want to delete only single character which where before cursor position in text box
That’s what that does.
Edit
AHHHHHHHISEEWHATYOUMEAN, but you do understand there’s a back button on all keyboards right?
yes sure but i want to make a back button in advanced calculator , with out using keyboard
Yeah I clearly can’t help you with this, responsive support will be with you soon.
anybody from support will contact with me ?
Yes, people who are responsive, unlike me.
ok thant you for you time
what about following the suggestion from my previous answer?
Taifun
i’m realy tried very much , but can’t
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
Taifun
look , if the text of text box is 12345 .
and user set the cursor position after number 3 for example , and click the button .
i want if button clicked , delete number 3 , then the text of text box become 1245 instead of 12345
you already received an answer here
Taifun
PS: it is annoying to find the same question in different communities… please don’t do this
i didn’t find the answer here , and also i already use other communities