I'll tell you what you need, you need so that when you click on the Button, extra characters are removed from the TextField. So that in the code itself it was indicated that if (label.text == <50) ((Or something like this)) then everything that is after 50 characters is deleted. I just need not a delimiter, but deletion after clicking on the button, I will be very grateful if you write the already ready code) Please.)
- oneElenaAngel - what is it, twink ElenaDemon? In any case, Elena, here at the HC they do not like questions that really, really ask to send a ready-made solution. What exactly you can not do? - Stanislav Pankevich
- I forgot the password from that: D, I can’t delete the text ... I need to remove all unnecessary, if more than 50 characters in the textfield. Suppose if there it was written - "1234567890", and I need so that you can enter only 5, and when you click on the button, it becomes like "12345", all the extras are deleted ... Something like this: D I don’t know, understand or not? - ELENAANgel
- Is the issue resolved? - Stanislav Pankevich September
|