gettingstarted
[Top] [All Lists]

Re: EditField setfocus

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: EditField setfocus
From: "Jonathon Bevar" <jonbevar at onclicksoftware dot com>
Date: Tue, 10 Jan 2006 00:54:42 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
Organization: Onclick.Software
References: <1BB40778E8B10444B742109270B97B0EA21320 at OWBSW2KVX2 dot jostens dot com><001901c6142e$c6219aa0$0200a8c0 at OCS><003501c614cd$88cd6090$0200a8c0 at OCS><004301c614d4$4c5b6c40$0200a8c0 at OCS><A6D567F7-20D6-46F2-8485-20AA6769DE21 at mobleybros dot com><002001c6155e$5f68ca50$0200a8c0 at OCS><B9EB96CA-F323-4363-9489-CDB4BB8B5DB8 at mobleybros dot com><003401c61579$24ca1f50$0200a8c0 at OCS><9159D104-83BA-42C1-B91A-0B376FA75615 at mobleybros dot com><000d01c6159b$c4468d30$0200a8c0 at OCS> <BC4EBD02-F466-472C-9590-7DA9CB8FF496 at hit dot net>
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" <atauqua at hit dot net>
To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
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>


<Prev in Thread] Current Thread [Next in Thread>