User Profile

Collapse

Profile Sidebar

Collapse
yptrumpet
yptrumpet
Last Activity: Jun 27 '13, 02:07 PM
Joined: Jan 3 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Seems I figured out the problem. I made it so that the above-mentioned line of code runs in the combobox's Enter and Change event procedures. Putting it in the AfterUpdate procedure didn't do anything that I could see. Enter() takes care of when the control first receives focus, and Change() takes care of when a new value from the combobox options is selected.

    Well. Throw your head against a wall enough times and you just might get...
    See more | Go to post
    Last edited by yptrumpet; Jan 3 '12, 05:17 AM. Reason: Can't mark this question "answered."

    Leave a comment:


  • placing text insertion point at the end of combobox contents

    Hi all. This is a bit of an aesthetic problem.

    I have a form containing two subforms and two comboboxes. When the forms first load, the first combobox receives focus. I'd like the text input cursor to be placed at the end of the text whenever the bombobox receives focus. Trolling Bytes.com tells me that the following code works for most people, so I put it in the cboEmpID_AfterU pdate event procedure.
    Me.cboEmpID.Sel Start = Len(Nz(Me.cboEm pID,
    ...
    See more | Go to post
No activity results to display
Show More
Working...