On Jan 8, 2006, at 10:47 AM, Lennox Jacob wrote:

Hello,
I have an app with a Styled EditField and I have checked Accept Tabs but it accept Tabs as only one space, how can I configure that to accept Tabs as five spaces?

You can do something like this:

Function KeyDown(Key As String) As Boolean
  dim Spaces as string = "               "
  If key = chr(9) then
    me.SelStart = Len(me.text)
    me.SelText = left(Spaces,5)
    return true
  End
End Function


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