Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving Mouse Cursor
Message
 
 
À
15/06/2001 15:14:42
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00520079
Message ID:
00520126
Vues:
16
>>>As long as it's character data, this code in the GotFocus of the textbox method will do it.
>>>
This.SelStart = LEN(RTRIM(This.Value))
>>
>>And if you want to drive the user crazy, put it in the Click also. Sorry, it's Friday and I'm a little giddy
>
>I sense an addition to the click method of my textbox base class...
>
If dow(date()) = 6
>   This.SelStart = LEN(RTRIM(This.Value))
>Endif
>
>
>Or for the superstitious...
>
If dow(date()) = 6 AND day(date()) = 13
>   This.SelStart = LEN(RTRIM(This.Value))
>Endif
>
>
>Like you said, Mark, it's Friday.

I am trying real hard to resist from putting that in my base textbox class.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform