Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00532527
Message ID:
00533984
Vues:
11
Marcia,

I did this about the same, except I used the line:

This.SelLength=This.MaxLength

Of course, you have to have something in that property to make it work properly.

I wondered why this didn't work so well on my numeric data textbox controls. I observed that the SelectOnEntry=.T. works just fine for numeric data entry.

You saved me some agony by putting this code up on UT. Thanks for doing that.

I didn't understand that you could place the command, NODEFAULT, anywhere in the event and it would signal to the base class (parent class) to not execute its normal routine. I originally though that there was some significance to it being at the end of your code as displayed below:

The following is placed in the GOTCOFUS:

Textbox::GotFocus()
This.SelStart = 0
This.SelLength = 12
NODEFAULT

Thanks a bunch,

Cecil Champenois
champenois@earthlink.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform