Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left most position
Message
De
14/01/2008 11:42:48
 
 
À
10/01/2008 20:36:49
Randy Hooper
Ranco Business Software
Tampa, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01281040
Message ID:
01281613
Vues:
8
Have several text boxes on a form all being classes. What I am wanting to do from my class text box is to make sure what ever is keyed in the text box, the text is at the first position of the text box.

Try this code in the GotFocus() of your textbox class:
Textbox::GotFocus
WITH This
  .SelStart = 0
  .SelLength = LEN( This.Text )
ENDWITH
NODEFAULT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform