Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with vfp3 to vfp9 textbox
Message
From
29/03/2005 18:34:18
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
29/03/2005 09:31:14
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00999460
Message ID:
00999814
Views:
19
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform