Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert a string in memo
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00903323
Message ID:
00905095
Views:
21
Hi David,

This problem disappeared when I cleared the content of ControlSource (which was a memo field).

Do you have any thoughts on this.

Thank you,
Ali


>Ali,
>
>It sounds like the cursor was moved by something else. Try this:
>
>
_screen.AddObject( "edt", "editbox" )
>_screen.edt.Width = 200
>_screen.edt.Height = 200
>_screen.edt.Visible = .t.
>
>no go to the edt and type return 3 times, Canada, space, space, space, backspace, backspace, backspace
>
>the cursor should be to the right of the last a, then back to the command window:
>
>_screen.edt.SelText = "Ali"
>
>And I see CanadaAli
>
>if you position the cursor between the na
>
>_screen.edt.SelText = " where does this go? "
>
>I get this in the edt: Can where does this go? adaAli
>
>Do you have any code in the KeyPress or LostFocus or Valid that might be altering any of the Sel* properties?
>
>>I got a problem with both of the solutions. I pressed enter, then I wrote a word (let say: Canada), and then pressed spacebar (like 3 times) and then pressed Backspace to get to the word (so 3 times again) that I wrote. Now the cursor is right after the word, but if I run the following command:
>>
>>GeologyForm.descript.SelText = "Ali"
>>
>>My name would be written one or two characters behind the world(so it would be either CanaAlida or CanadAlia). It should have written right after the word( I mean CanadaAli).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform