Posted By: Vorick
Modifying Inkey - 03/03/09 06:46
Good Morning,
I'd like to ask if there is any way to redefine the inkey events, e.g. "Cursor Down" aborts the input and restores the original string. How can I keep the string on "Cursor Down"?
I guess I could just copy the inkey string to a backup string and then restore it manually after cursor down is pressed, but that doesn't seem very feasible.
I also thought about programming my own pseudo-inkey function with on_anykey, but if there's a way to avoid it, I'd be glad to hear about it.
Patrick
I'd like to ask if there is any way to redefine the inkey events, e.g. "Cursor Down" aborts the input and restores the original string. How can I keep the string on "Cursor Down"?
I guess I could just copy the inkey string to a backup string and then restore it manually after cursor down is pressed, but that doesn't seem very feasible.
I also thought about programming my own pseudo-inkey function with on_anykey, but if there's a way to avoid it, I'd be glad to hear about it.
Patrick