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...
User Profile
Collapse
-
-
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,...
No activity results to display
Show More
Leave a comment: