Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Position to beginning of text
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00891630
Message ID:
00891652
Vues:
17
Thanks David

Almost got there myself. Didn't think of the dodefault() - nodefault bit though.

Can you tell me what happens with the Dodefault() on the standard control?

Also
this.SelStart = 0
1 puts it at the second character.

Ta very muchly
Geoff


>Geoff,
>
>In the GotFocus()
>
>
>dodefault()
>this.SelStart = 1
>this.SelLength = 0
>nodefault
>
>
>Any tou are liable to tick off a lot of your users that are trying to click into the middle of a field to correct a single character.
>
>>How do I force the cursor (and display) to the beginning of the text in a textbox, editbox or combo when it gets focus regardless of whether it was clicked with a mouse or not or whether it is in a grid or not?
May all your weeds be wildflowers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform