Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit box selects all text -- BAD IDEA!!
Message
From
16/06/1999 14:05:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Edit box selects all text -- BAD IDEA!!
Miscellaneous
Thread ID:
00230545
Message ID:
00230545
Views:
50
An old pet peeve -- but now the client has told me I need to deal with this.

The user tabs to an edit box. (I have a notes box on most of my forms.) All of the text is selected. If the user presses enter or just about any key besides tab at this point, ALL OF THE PREVIOUS NOTES ARE WIPED OUT.

Setting property SELECTONENTRY to true or false seems to have no effect on this behavior. If I set SELSTART to 9999 and tab to the edit box, it is reset to 0 and the SELLENGTH property is set to the length of the text in the box.

There must be a way to fix this.

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Next
Reply
Map
View

Click here to load this message in the networking platform