Select entire field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have an application that needs to have the keyboard set
to beginning of the field. I'm familiar with
the /tools/options method. My questions is; How is it
done programatically? Thank in advance for your help.

David S.
 
I have an application that needs to have the keyboard set
to beginning of the field. I'm familiar with
the /tools/options method. My questions is; How is it
done programatically?

Check Help for the SelStart and SelLen properties.

In the control's Enter event:

textbox.SelStart = 0
textbox.SelLen = Len(textbox)
 
Thank you Marsh, I appreciate the help.

David S.
-----Original Message-----


Check Help for the SelStart and SelLen properties.

In the control's Enter event:

textbox.SelStart = 0
textbox.SelLen = Len(textbox)
 
Back
Top