Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit box selects all text -- BAD IDEA!!
Message
 
To
16/06/1999 14:05:41
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00230545
Message ID:
00230555
Views:
20
Are you sure you don't have something in your Editbox class causing this or a format option of 'K' somewhere? Editboxes on my forms don't display this behaviour and never have.

>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
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform