Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editbox and Insert Off
Message
From
09/07/2003 08:09:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00808157
Message ID:
00808420
Views:
19
>>Dmitry,
>>Probably a keypress code is in effect. I'd try like this for a quick check :
>>
>>-Command window
>>on key label 'F2' set step on
>>do myForm
>>
>>-Go to editbox, ins off, start typing, [F2] when near the end of line
>>
>>Might work.
>>Cetin
>
>I just figured out what the problem is. The text in the editbox that was originally entered had carriage return. That is, user types one line, presses Enter, then next line. In those cases, when you try to type over the exiting text, the line gets pushed down.

I see. You can't type over an nonprintable character and it persists :)
If you want you can remove them on entry :

this.Value = chrtran(this.Value, chr(13)+chr(10), '')

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform