Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to point cursor (mouse) to end of value
Message
De
20/03/2003 12:07:26
 
 
À
20/03/2003 11:58:58
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00768160
Message ID:
00768166
Vues:
14
in the GotFocus() Method of the textbox put:
This.SelStart = len(This.Value)
make sure
SelectOnEntry = .f.
in the textbox

this works with character values, for numeric or other this would have to be modified.

hope this helps

>I'm not talking about current record sets here, but about the blinking | in a texbox
>I'm sorry but I dont know another word for it.
>
>When user tabs through a form with multiple textboxes i want the cursor to be positioned at the end of the value of the textbox instead of the beginning.
>So instead of |sometext i would like sometext| to appear in the focussed textbox.
>
>I've noticed that foxpro seems to remember where the cursor was in a textbox, so i'm hoping that what i want is possible.
>
>tia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform