Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select on entry??
Message
 
À
18/07/2007 08:45:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01241224
Message ID:
01241478
Vues:
14
What if your maxlength is 0?

>This solution will not necessarily work all the time, depending on your typing speed, and other factors. This code in gotfocus is better:
>This.selstart=0
>this.sellength=this.maxlength
>
>>In the gotfocus you can add
>>
>>KEYBOARD '{HOME}'
>>
>>which will start them in the first position or
>>
>>KEYBOARD '{HOME}{SHIFT-END}'
>>
>>which will highlight the entire entry
>>
>>If you put it in the base class, it will work for all fields
>>
>>
>>>My users are consistently using their mouse to navigate around the textboxes of a form. Often they will click into the middle of the control and begin typing only to have the cursor jump to the next field before they are finished typing. I have tried setting the Selectonentry to .T. and the MaxLength to 0 but this doesn't seem to help.
>>>
>>>Is there a fix for this other than training the user to navigate with the TAB key?
>>>
>>>Thanks
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform