prob when I hit enter in editbox

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi, i'm experimenting some trouble with editbox control
when i hit enter in editbox.. cursor goes up (to the previous line) ?!

my setup: (very simple setup)
CREATE CURSOR CurTest (Field1 M) && a simple cursor with memo field
INSERT INTO CurTest (Field1) VALUES ("qwertyuiop")

CREATE FORM
add editbox object..
set property:
..ControlSource = CurTest.Field1

** no prob here **

in InterativeChange Method
add:
string1 = this.value

** now prob begin **

run this form
move keyboard cursor .,. between 'y' and 'u'
press enter
cool, you got 2 lines.. "qwerty" and "uiop"
but why cursor come back to the first line ??

idea ?
Pat



.



Relevant Pages

  • Re: Hyperlinks in VFP7 Editbox
    ... That works just fine looking Anders, and I really appreciate your help. ... The text youve saved in the cursor is a great example to illustrate my query. ... > CREATE CURSOR xx (memo m) ... >>> active/clickable link in the editbox. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Editbox lost focus issue
    ... I missed the part about the editbox being unbound. ... with unbound editboxes but it's a dim memory. ... A table and a child cursor are involved in the ... I'll experiment with using a .controlsource and removing ...
    (microsoft.public.fox.programmer.exchange)
  • Re: prob when I hit enter in editbox
    ... Cursor Jumps Around when Typing in Edit Box ... when i hit enter in editbox.. ... CREATE CURSOR CurTest (Field1 M) && a simple cursor with memo field ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Editbox
    ... und bei welchem Zeichen dieser Cursor sich befindet ... Zeile das 4 Zeichen ... das Andreas Beger vorgeschlagen hat, hilft dir nur bedingt weiter, weil die Editbox den Text zusätzlich zu expliziten Zeilenenden halt am rechten Boxrand umbricht. ... wie man diese Funktionen mit einer Editbox verwenden kann. ...
    (microsoft.public.de.fox)
  • RE: prob when I hit enter in editbox
    ... when i hit enter in editbox.. ... CREATE CURSOR CurTest (Field1 M) && a simple cursor with memo field ...
    (microsoft.public.fox.programmer.exchange)