Re: ComboBox and automatic dropDown

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

From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 12/17/04


Date: Fri, 17 Dec 2004 14:24:46 +0100


"Peter Stojkovic" <Peter.Stojkovic@gmx.net> schrieb:
> How can I program a automatic dropDown ( Showing all entries ),
> if the user tabs to the comboBox ???

Add a handler to the control's 'Enter' event and set its 'DroppedDown'
property to 'True' there.

-- 
 M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
 V B   <URL:http://dotnet.mvps.org/dotnet/faqs/> 


Relevant Pages

  • Problems Firing an Event Handler
    ... I am trying to populate a combobox and then fire an indexchanged event ... to the event handler, ... Dim ds As New DataSet ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: NullReferenceException from System.Windows.Forms.ChildWindow.Callback
    ... that I added the following code (in my Application.ThreadException handler): ... if its safe to ignore the exception like this or if the exception is being ... released by native code (which uses it to send window messages to the ... dropdown portion of the combobox). ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Can I implement an autofill feature with a textbox?
    ... As it turns out Greg Dunn's example using a combobox does NOT require you to ... set the DroppedDown on entry and it DOES work with a Simple style combo. ... > text as it is typed in or even when the cbo loses focus. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: DroppedDown
    ... I want to drop down a combobox when the mouse enters and collapse it ... in the droppeddown portion of the combobox droppeddown is closing. ... Plz Help me to solve this problem sir as it is really really high priority. ... It will not release capture until the window is ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Combobox text not in list strange behaviour
    ... However if I do a droppedDown = true in the onEnter ... event handler and then tab to another combobox, the text value is reset to ... End Sub ...
    (microsoft.public.dotnet.framework)