Re: selecting an entire field



That would make it necessary to use the arrow keys to edit an existing
record. Users who can't remember to use the tab key will surely be
frustrated when they find they can't click to position the cursor within a
field.

"Barry Gilbert" <blgilbert@xxxxxxxxx> wrote in message
news:1144337022.749817.308630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In the control's OnClick event, put this code:

Me.ControlName.SelStart = 0
Me.ControlName.SelLength = Len(Me.ControlName)

HTH,
Barry



.



Relevant Pages

  • Re: selecting an entire field
    ... position the cursor would result in the entire field being selected. ... users are uncomfortable with the Tab key they will probably be even more ... uncomfortable with arrow keys. ... same highlight results as when they tab into the control. ...
    (microsoft.public.access.formscoding)
  • Excel 2007 Chart Data Selection- Arrow Keys Frustration
    ... source data and try to use the arrow keys to move the cursor left or ... the cell location to the data I'm trying to edit. ... Edit series, Series values=XPadDaily!$G$2:$G$22 ...
    (microsoft.public.excel.worksheet.functions)
  • Re: edit control: left/right-arrow keys
    ... This is a Really Bad Idea, because the arrow keys mean something very specific in edit ... controls, which is NOT the same as the TAB key, so using them in a way that violates user ...
    (microsoft.public.vc.mfc)
  • Re: Restoring window width in Applesoft
    ... to edit, poke33,33 LIST allows you to edit the ... the cursor with the arrow keys, ... watch out for those space characters. ...
    (comp.sys.apple2.programmer)
  • Odd Occurrance...
    ... While my boss was working in Outlook 2002 on his IBM ... the edit cursor...that, and the arrow keys did not work ... arrow keys to navigate through the messages. ...
    (microsoft.public.outlook)