Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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.
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page