Jack,
I tried that and it still does not work. Do I need to include it in the
pNotes.text or can I just use it in the AddNote Button that I created?
Not sure why it wont work.
Jonathon
----- Original Message -----
From: "CV" <[EMAIL PROTECTED]>
To: "Getting Started" <[email protected]>
Sent: Tuesday, January 10, 2006 12:08 AM
Subject: Re: EditField setfocus
On Jan 9, 2006, at 8:10 PM, Jonathon Bevar wrote:
// Add Date Code
Dim d as New Date
pNotes.text = pNotes.text + EndOfLine + "[" + d.longdate + "] - "
Should look like this:
[Friday, January 7, 2006] -
It will auto enter the DATE fine but it will not put the focus after the
" - ".
How do I get the focus put after the " - "?
// Add Date Code
Dim d as New Date
pNotes.text = pNotes.text + EndOfLine + "[" + d.longdate + "] - "
pNotes.SelStart = len(pNotes.Text) <---------------------
Best,
Jack
_______________________________________________
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>
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/224 - Release Date: 1/9/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/224 - Release Date: 1/9/2006
_______________________________________________
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>