Ok, how would I go about doing that? (Sorry)

I tried:

  spt.SelStart = (spt.text.len)

  spt.Text = spt.Text.Left(spt.Text.Len)

and tried

  spt.SelStart = (spt.text.len-1)

  spt.Text = spt.Text.Left(spt.Text.Len)

and tried

spt.SelStart = (spt.text.len)-1
spt.text = spt.text.left(spt.text.len)

and it still doesn't work



Brian Heibert
[EMAIL PROTECTED]


On May 30, 2006, at 7:47 PM, Terry Ford wrote:


On May 30, 2006, at 4:42 PM, Brian Heibert wrote:

This goes back all the way

  spt.SelStart = len(spt.Text)

  spt.Text = spt.Text.Left(spt.Text.Len)

I wanted that for one of my buttons and so I have it

but now I have two other buttons both are arrow buttons

I want to be able to let the user press the left back arrow and just go back one character in the edit field vice versa I want the right forward arrow to go forward one character in the edit field

How do I do that?

By adjusting the selstart property.

Terry

_______________________________________________
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>

_______________________________________________
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