Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox entry
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00703534
Message ID:
00703547
Views:
20
This message has been marked as the solution to the initial question of the thread.
>I have an unusual problem. When I either Tab into or Mouse into a TextBox, I need the cursor placed a certian number of places to the right (example: 8 spaces to the right). The TextBox might already be completely filled with data.
>
>Anyone know of a way to do this?

Hi Mel. 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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform