Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox entry
Message
From
23/09/2002 18:53:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00703534
Message ID:
00703582
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform