Cursor behavior

  • Thread starter Thread starter Joop
  • Start date Start date
J

Joop

Hi all,

Does anyone know a method to change de cursor behavior after changing the
focus to a field dynamicly? Normaly it is set in the options menu where you
can select to place the cursor at the begin or end of the field or select
the whole field. In the constants-list of the RunCommand Methode I only find
a constant to open the options menu (acCmdOptions), I can't find any
constants for d detailed settings in the options menu.

Has anyone a solution??

regards,
Joop Aarts (Netherlands)
 
Joop,

Have a look at the SelStart property. For example...
Me.NameOfTextbox.SelStart = 0
.... will position the cursor at the beginning of the text.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top