Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ctrl-A doesn't always work
Message
From
09/04/1998 13:53:42
 
 
To
09/04/1998 13:22:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00089646
Message ID:
00090858
Views:
29
>>I have been able to duplicate this behaviour and I'll be darned if I can explain it. Yes the menu is enabled, yes the Select all (Ctrl+A) is enabled but Ctrl+A does NOT select the text in the EditBox, although it will select the text in TextBox in the same grid.
>>
>>Maybe you can convince your user to use Shift-End to select text? That appears to work in both although it only selects from cursor to end of field.
>
>WOW! Thanks for confirming that. I thought maybe was missing something.
>
>I have thought about adding a .keypress() event for the edit box that would set this.selstart=0 and this.sellength=len(alltrim(this.value)). That should act the same exact way.

That would work too ... maybe put it into a EditBox class def and sub off of that from now on, eh?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform