I have a chat program i'm working on and to fully customize the look i'm making my own chat window and this requires each key to be mapped, this includes space and delete. the keys working to add characters is pretty straight forward, but i'm a bit stumped on how i would create a delete key to effectively remove the last character of the text string in the text box.
I found an older C2 forum post that had some solution that was similar, but dealt with newline.. i feel like it's something like.. maybe the total character count - 1 would be right, but i can't figure out how to express it correctly.
right(ChatLogin.text, len(ChatLogin.text)-find(ChatLog.text,newline)-1)
this was my attempt to adapt the example to mine.. but can't figure it out.
Thanks!