Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox Click and GotFocus
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Textbox Click and GotFocus
Divers
Thread ID:
00703863
Message ID:
00703863
Vues:
57
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform