FYI, the REPLICATE command works wonders with this kind of thing (helps to tidy things up).
KEYBOARD '{HOME}' + REPLICATE('{RIGHTARROW}', 8)
:)
>Evan,
>> In the GotFocus event of the textbox, put
>KEYBOARD '{HOME}'
>KEYBOARD '{RIGHTARROW}'
>KEYBOARD '{RIGHTARROW}'
>KEYBOARD '{RIGHTARROW}'
>KEYBOARD '{RIGHTARROW}'
>KEYBOARD '{RIGHTARROW}'
>KEYBOARD '{RIGHTARROW}'
>KEYBOARD '{RIGHTARROW}'
>KEYBOARD '{RIGHTARROW}'
>This works whether SelectOnEntry is .T. or .F. <
>Thanks for this, as I would not have thought of this. Its really strange, but this is the only >solution that gave me the correct results every time.
>Mel Cummings
- Craig
"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson