Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Special K
Message
De
20/03/1998 12:53:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/03/1998 12:39:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00086017
Message ID:
00086054
Vues:
25
>>>>if len(allt(this.value))!=0
>> keyboard '{END}'
>> keyboard '{SHIFT+HOME}'
>> endif
>>
>>
>>Unless there is an input mask - this would be an redundant check. The highlighting would only occur to the extent there is something in the text box. If nothing is in the textbox - and no inputmask exists - no hightlight will occur - obviating the need for the If...Endif. Of course, all of this is moot if K is assigned to the Format Property.
>
>Unfortunately, it's necessary check, else this textbox will never get focus if value=space(0).
Ed,
Couldn't it be just :
*Gotfocus
keyboard "{Ctrl+A}"
Once upon a time I had a stituation selecting by keyboard or "K" didn't work. Don't remember the project now but the solution :
*Gotfocus
keyboard "0"+"{Enter}"   && Enter an invalid value
*Valid
return iif(this.value<1,0,.t.)
A quirk way but still working (otherwise they would call even at 03:00 am)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform