Re: Reszing form highlights combo box

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Dale" <D-Man> wrote in message
news:uf91wWngFHA.2916@xxxxxxxxxxxxxxxxxxxxxxx
> The subject line says it all.

No, it doesn't.

> Without posting gobs of code, what might be the number one culprit?
> Number two? Three.........

To what? Are you saying that when a form is resized, the combobox gets
focus? If not that, I have no idea what you're talking about. You need to
elaborate more.

>
> Also, somewhat related, I have a Form_KeyDown event WHICH when pressed AND
> the combo box has the focus will cause the combo box to open, similar to
> when the mouse clicks for dropdown.
>
> I realize this is probably asking a lot without some posted code but I'm
> kinda trying to get ideas so I can figure this out myself.

I'm lost. What problem are you having? You mention a KeyDown event for the
form. You mention the combobox having focus. You mention the combobox
"opening" (I assume this means showing the dropdown portion). What's the
problem? Is the combobox showing the dropdown when you press a key? If the
combobox has focus, that would be normal. What is the code in your
Form_Keydown event? Do you have KeyPreview set to True? What behavior are
you desiring?

In your mind, I'm sure everything's clear and makes sense. But we're not
mindreaders. You need to be specific and provide as much detail as you can
in order to get any kind of decent help.

>
> Then if all else fails, I can wimp out and just ask for help (Big Grin).

Nothing wrong with asking for help. That's what the newsgroups are for.
But, you've got to make it clear what you need help with. I can't figure out
what that is.

--
Mike
Microsoft MVP Visual Basic


.



Relevant Pages

  • Re: Calculating off combobox selections
    ... selection from the dropdown combobox list in field A. That's it! ... 'number') in field 'B' based on the selection from the dropdown combobox. ... There is no 'combo box' form field in Word 2003, ...
    (microsoft.public.word.docmanagement)
  • Re: ComboBox Default values
    ... What I have done in situations like yours is to create a special combobox ... use the ToStringmethod of your class to determine what to display to the ... First for the Company dropdown I would data bind ... >> If this is the case then you should be able to use the SelectedValue ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Create control with drop-down similar to ComboBox
    ... unfortunately I can not use the combobox to do as I want as I need to ... combobox in the dropdown portion. ... private void button1_Click ... To make the drop-down portion "float", I think you may have a try ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Avoid resize of combobox while dropdown visible and adding items?
    ... Are you required to display the items as they're being added to the combobox? ... that items are added to the list while the combobox's dropdown is displayed. ... private void comboBox1_DropDown ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Formulare ausfüllen
    ... eine Combobox und eine Checkbox. ... Im Text brauchst du ein Textfeld, ein Dropdown und ein Kontrollkästchen ... Bei Anzeige der Userform werden evtl. ... Private Sub cmdAddValuesToFormfields_Click ...
    (microsoft.public.de.word.vba)