Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / interesting

Author
Message
Plastico
20
Years of Service
User Offline
Joined: 3rd May 2004
Location:
Posted: 6th Aug 2004 12:33
I was fooling around with some code and was wondering if it would be possible to create a wordpad of some sort. if you try this loop your able to move forward with text, but you cant delete text to go up, or clear what you have written. is there a way to go around this?

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 6th Aug 2004 12:47 Edited at: 6th Aug 2004 12:50
the backspace key deletes them for me.
[edit] NM I see what you mean
[edit2] You can do it but you will have to save the input into strings and use the set cursor command to place your text. Then Use the string commands to delete the chartacters from the strings and re draw them.

Plastico
20
Years of Service
User Offline
Joined: 3rd May 2004
Location:
Posted: 6th Aug 2004 14:54 Edited at: 6th Aug 2004 14:58
sounds difficult

[edit]could I do it this way?

if the backspace key is hit, then I set the cursor to where it was before? Im thinking the code would be infinite if I did it that way.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 6th Aug 2004 16:12
Don't use input.
Use ENTRY$ to build a string and use TEXT to display it.
Then use LEFT$ to remove characters when the backspace key is pressed.

it's cool to hate

Login to post a reply

Server time is: 2024-11-27 04:56:40
Your offset time is: 2024-11-27 04:56:40