[EMAIL PROTECTED] wrote:
Subject: Re: Editfields (Inserting at the current cursor position)
From: "Marc Zeedar" <[EMAIL PROTECTED]>
Date: Thu, 23 Mar 2006 05:14:13 -0000 (GMT)


On Thu, March 23, 2006 4:39 am, Michael Williams wrote:

Is there any way to insert an item at the current cursor position
inside an EditField?


editField1.selText = "RETURN" should do it (where editField1 is your
editField).

This IS slightly unintuitive -- I know it confused me way back when --
since no text is actually selected and ".selText" implies something to do
with selected text. But with no text selected, this just puts text at the
cursor postion.


What about "SelStart n" to place the Cursor at position "n" ? Not really intuitive too...

:(

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to