|
发表于 2022-7-5 17:04:00
|
显示全部楼层
Grrrrrrr.. Ok so after using it just now, I am noticing a problem, apparently I am writing this method wrong because if the user steps into the routine, enters a value, places the value, then chooses to esc to exit the routine, it always deletes the previously added entity. I will keep trying to figure it out when I have time today.
I want the routine to:
1. prompt for value
2. allow user to place value
3. loop if users wants to enter more
4. esc to exit cleanly, leaving previously entered values OR
5. if a user enters another value accidentally but no longer wants that value
6. hitting esc exits the routine then deletes the value that is currently on cursor (grread) waiting for placement- leaving the existing values the user just placed. |
|