combobox behaviour

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

From: Frank (frank_at_frank.com)
Date: 06/23/04

  • Next message: Cor Ligthert: "Re: Jet Database Won't Open"
    Date: Wed, 23 Jun 2004 10:45:56 +0200
    
    

    Hi,
    I create a combobox in the new event of a form. Fill datasource with dataset
    and so on.
    Works in so far that the items (combo.items.count) only show after the load
    event. I found a workaround by setting the visible prop to true and
    immediatly to false again (in the new sub).
    Why is this happening and is there a better solution for it?
    Thanx
    FRank


  • Next message: Cor Ligthert: "Re: Jet Database Won't Open"

    Relevant Pages

    • Re: RE: User Forms
      ... I have the FillCboBoxList sub in the userform module. ... ComboBox named: ComboBox1 ... click on, say, letter A, I want the control to populate my cbo box with ... Right-Click on the Excel icon ...
      (microsoft.public.excel.newusers)
    • Re: ComboBox unique ValueMember and non-unique DisplayMember
      ... the combobox because there will be no associated ID with the text they type. ... >> Public Sub New ... >> Friend WithEvents TextBox2 As System.Windows.Forms.TextBox ... >> Private Sub Form3_Load(ByVal sender As System.Object, ...
      (microsoft.public.dotnet.framework.windowsforms)
    • Re: RE: User Forms
      ... I have the FillCboBoxList sub in the userform module. ... ComboBox named: ComboBox1 ... Right-Click on the Excel icon ...
      (microsoft.public.excel.newusers)
    • Re: Raise Event Problem
      ... All your comboboxes will trigger their withevents click events, ... Private Sub mcombobox_Click ... Dim cevent As ClsComboEvent ... userform will only receive the event of the last combobox. ...
      (microsoft.public.excel.programming)
    • Re: Combo: DropDownList-Style, Richtiges Event
      ... darunter das Auswerten eines Textes, das Neuladen einer weiteren ComboBox, das Vergleichen ... Public Sub New() ... End Sub ... Private components As System.ComponentModel.IContainer ...
      (microsoft.public.de.german.entwickler.dotnet.vb)