Search results

  1. E

    Selecting Text

    Hi Tim, Well Sendkeys does..at least after the Sendkeys command the code in the on change event is running. Eightball
  2. E

    Selecting Text

    Hi Tim, On the got focus event I use sendkeys to place a value in the field causing an on change event. I do a bunch of stuff not related to this field on the on change event. I would like the field selected after all this so the user can put a different value in if desired (more easily). Thanks.
  3. E

    Selecting Text

    Scott, I put this at the end of the got focus event: Me![text].SelStart=0 Me![text].SelLength = 1 It is a one character field. Is this supposed to work? Thanks
  4. E

    Selecting Text

    Does anyone know how to select the text in a textbox automatically so that if you start to type the old data disappears and is replaced with the new data. Thanks all.
  5. E

    Moving to an Item in a listbox when opened.

    Well I give up!!! If I try using sendkeys into a combobox my darn NumLocks keeps turning off, plus if I move the mouse it moves the selected item in the box. All I want is a box that acts like a combobox (moving to an item as you type) but the input isn't from someone typing but rather from a...
  6. E

    Moving to an Item in a listbox when opened.

    Form1 has a field containing a model number. Pushing a button on form1 opens form2 that contains a listbox with, among other fields, a model number field. The listbox will move to the exact match of the model in the form1 field if possible, otherwise it will move to the closest match possible...
  7. E

    Moving to an Item in a listbox when opened.

    Thanks Dave, I basically want the listbox to act like a combobox except the listbox looks at the first character in the previous form's field, moves to the first matching record, then looks at the second character, and if possible moves to the first record that matches with the first two...
  8. E

    Moving to an Item in a listbox when opened.

    First of all let me say thanks to everyone. I am trying to open a form with a listbox on it. When the form opens the listbox moves to the closest matching record based on a value in a previous form. Is there an easy way of doing this? Thanks. Eightball
Back
Top Bottom