Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox not selected on entry
Message
De
27/07/2001 13:07:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00535697
Message ID:
00536533
Vues:
11
>Hilmar,
>
>Thanks!
>It was exactly wat I did. When I said I had put a new textbox without any methods what I did was to put a new textbox control onto the form, populate its properties according to the ones I had in the old one and leave its methods empty. Nothing changes in relation to the old textboxes. i.e. same problem.
>The new information I have is that if the value (controlsource for what matters) of this control is empty (0.00 for example), the control is not selected on entry. The problem it causes is that if my user types "1" in a numeric textbox and presses TAB, fox example, the value is changed to 10. If he (she) types "10", the value is changed to 100, and so on. Any clue?
>

Fabio,

Have you tried to put this in your gotfocus() method (from the first thread I sent you)?
Textbox::GotFocus()
This.SelStart = 0
This.SelLen = 999
NODEFAULT
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform