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.


-- 
Marc Zeedar
Publisher
REALbasic Developer Magazine
http://www.rbdeveloper.com
_______________________________________________
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