Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with vfp3 to vfp9 textbox
Message
De
29/03/2005 18:34:18
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
29/03/2005 09:31:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Divers
Thread ID:
00999460
Message ID:
00999814
Vues:
20
>>>Well do not see what it is. If I key data in field and tab back into it, it highlights data but if the field is empty only see flashing cursor bar.
>>
>>Thats the way it suppouse to work. There's nothing to highlight if field is empty.
>Yes that is what I thought but in vfp3 if you tab into an empty field it highlights the whole field. Can this be done in vfp9?

in .gotfocus
if empty(this.value)
   this.value=space(n)  && n would be field size here
   this.selstart=0
   this.sellength=n
endif
Qualifies as a kludge, IMO. I think it's actually unnecessary - people are used to the current behavior. Actually the lack of selection is a clear signal to the user that there's nothing to select.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform