Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit box selects all text -- BAD IDEA!!
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00230545
Message ID:
00230574
Views:
22
>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

Pete, what is the FORMAT property of the edit box? If it is K, that is what you need to remove. The K means select on entry...
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform