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>

Reply via email to