Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox Click and GotFocus
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Textbox Click and GotFocus
Miscellaneous
Thread ID:
00703863
Message ID:
00703863
Views:
56
Hi everybody,

I have a textbox on the form. I want to be on the third symbol then I activate it. I put this code in GotFocus:
if empty(this.value)
	this.value = 'A0'	
	this.selstart = 3
endif
and this code in Click() event:
nodefault
this.GotFocus()
However, then I click on it the cursor positions itself on the place I click... How can I achieve the desired behavior? I set SelectOnEntry to .f.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform