Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editbox and Insert Off
Message
 
 
To
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:
00808448
Views:
20
>>>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

I think I will start with explaining to the user why editbox works as it works. But if that does not work, I will follow your suggestion.
Thank you very much for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform