Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving Cursor And Clearing Field
Message
 
To
19/03/1999 23:58:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00200089
Message ID:
00200091
Views:
13
>How do I move my cursor to the first field after I issue an append blank record through a command button? The current situation I get is the cursor keep on the command button.

thisform.txtMy1stTextbox.SetFocus()
as the last line in the Button.Click() method.

>How do I clear all the typing in my text box?

Not sure what do you mean. You can always select the content of the textbox the usual way (Shift + Arrow key) and then press Del. You may set the textbox.Value property to "" (or 0, depending on type of the value in the textbox), if you want to do that in code.

HTH,

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform