Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

removing the cursor

Discussion in 'Information Technology' started by dave, Nov 17, 2005.

  1. dave

    dave
    Expand Collapse
    Guest

    Does anyone know how to remove the cursor from a combo box in a form. Locking
    it or disabling it doesn't work because i need to use it to navigate records
    but don't want the cursor there.
     
  2. Loading...


  3. Ofer

    Ofer
    Expand Collapse
    Guest

    On the GotFocus event of the combo, set the focus to another field in the form
    Me.FieldName.SetFocus

    --
    I hope that helped
    Good Luck


    "dave" wrote:

    > Does anyone know how to remove the cursor from a combo box in a form. Locking
    > it or disabling it doesn't work because i need to use it to navigate records
    > but don't want the cursor there.
     
  4. dave

    dave
    Expand Collapse
    Guest

    ok as it turns out from searching the help pages is a drop-down list box
    however i don't seem to have an option to create one of those in my toolbox.
    how do i make one?
     
  5. Mr B

    Mr B
    Expand Collapse
    Guest

    You may want to try setting the focus to another control usin the "After
    Update" event rather than the OnFocus event. If you use the OnFocus event it
    will not let you select anything fromt the list.

    If you use something like:
    with me.ATestBoxlName
    .value = Me.YourComboBoxName
    .setfocus
    end with

    this will let you make a selection and immetiately place that value in a
    text box and then set the focus to that text box.
    --
    HTH

    Mr B


    "Ofer" wrote:

    > On the GotFocus event of the combo, set the focus to another field in the form
    > Me.FieldName.SetFocus
    >
    > --
    > I hope that helped
    > Good Luck
    >
    >
    > "dave" wrote:
    >
    > > Does anyone know how to remove the cursor from a combo box in a form. Locking
    > > it or disabling it doesn't work because i need to use it to navigate records
    > > but don't want the cursor there.
     
  6. dave

    dave
    Expand Collapse
    Guest

    Thats not really what I want. I found out about a "drop down list box" in the
    help pages but i don't seem to have an option to create one in my toolbox
    that i see. i'm running access 2003 if thats any help.

    "Ofer" wrote:

    > On the GotFocus event of the combo, set the focus to another field in the form
    > Me.FieldName.SetFocus
    >
    > --
    > I hope that helped
    > Good Luck
    >
    >
    > "dave" wrote:
    >
    > > Does anyone know how to remove the cursor from a combo box in a form. Locking
    > > it or disabling it doesn't work because i need to use it to navigate records
    > > but don't want the cursor there.
     
  7. Mr B

    Mr B
    Expand Collapse
    Guest

    Dave,

    Sorry I did not understand your question.

    I have not seen a time that the tool to insert a Combo Box was not available
    in the Tool Box Menu. Are you sure you are not just overlooking it. Stop
    your cursor over each of the tools. The tool you need will have a tool tip of
    "Combo Box".
    --
    HTH

    Mr B


    "dave" wrote:

    > Thats not really what I want. I found out about a "drop down list box" in the
    > help pages but i don't seem to have an option to create one in my toolbox
    > that i see. i'm running access 2003 if thats any help.
    >
    > "Ofer" wrote:
    >
    > > On the GotFocus event of the combo, set the focus to another field in the form
    > > Me.FieldName.SetFocus
    > >
    > > --
    > > I hope that helped
    > > Good Luck
    > >
    > >
    > > "dave" wrote:
    > >
    > > > Does anyone know how to remove the cursor from a combo box in a form. Locking
    > > > it or disabling it doesn't work because i need to use it to navigate records
    > > > but don't want the cursor there.
     

Share This Page