I like how this functions, it's also taught me a couple concepts I can utilize on my projects since I seem to end up doing a lot of dialog box input stuff. Up to this point, I haven't become familiar with _BLEND/_DONTBLEND and as Dav mentioned, I'm just discovering _COPYIMAGE(0)
I notice that 'x' and 'y' in lines 32-37 seem to be superfluous, I couldn't see where they were set, and cutting them out didn't affect the functioning of the code. I assume they are a "development artifact".
You’ve got good eyes to spot those unnecessary artifacts though! Since x/y isn’t shared here, they’re always 0, so they never actually do, or change, anything at all. (Not to say that you couldn’t make them do something, if you wanted…)
I’m surpised you noticed them at all! Seems you’ve studied my code even more than I have! /blush! I’ve got to check my stuff/edits better, in the future.
on my screen number covers the vertical line at beginning of the field of input of number phone.
P.S. It does display a tendency to echo the SLEEP keypress in the first field. Adding a _KEYCLEAR as the first statement of the SUB seems to fix that.
Seems to work perfectly now.
I have to study that blinking bit. I once tried something along a similar idea with TIMER, but it failed miserably.
As I recall, it was something like doing TIMER MOD 2 and checking for a zero value, but I was forgetting that TIMER doesn't yield an integer and wouldn't necessarily be caught by a loop.