-
>
> *From:* Jared Forsyth [mailto:[EMAIL PROTECTED]
> *Sent:* Thursday, August 14, 2008 7:41 AM
> *To:* Igor Kaplan
> *Cc:* pythonce@python.org
> *Subject:* Re: [PythonCE] Programaticly moving cursor in multi-line edit
> control
>
>
>
> The way to pre
, August 14, 2008 7:41 AM
To: Igor Kaplan
Cc: pythonce@python.org
Subject: Re: [PythonCE] Programaticly moving cursor in multi-line edit
control
The way to preserve linebreaks is tp replace "\n" with "\r\n"
so: self.text_entry.text = fl.read().replace("\n","\r\n
Igor,
I've tested your app, and what happens really is that the cursor itself
is moved at the beginning but the edit isn't scrolled to make it visible
(if you press an hardware key or try to insert a few characters, you'll
be then scrolled at the beginning). This seems to be the normal
behavi
The way to preserve linebreaks is tp replace "\n" with "\r\n"
so: self.text_entry.text = fl.read().replace("\n","\r\n")
On Wed, Aug 13, 2008 at 8:05 PM, Igor Kaplan <[EMAIL PROTECTED]>wrote:
> Hello,
>
> I would like to ask a little advice. Already several days I am trying to
> figure out the fo
: [PythonCE] Programaticly moving cursor in multi-line edit
control
To: pythonce@python.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Igor,
From what you say, I don't see what you could have done wrong.
can you send me the full source cod
Igor,
From what you say, I don't see what you could have done wrong.
can you send me the full source code so I can give a try ?
Alexandre
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce
Hello,
I would like to ask a little advice. Already several days I am trying to
figure out the following problem using ppygui: How to move the cursor in the
edit field to the top of that field.
In my code I create the frame and then Edit control:
Self.text_entry = gui.Edit(multiline=True)