Re: [CROSS POST] Strange problem with control order

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

From: Stoitcho Goutsev \(100\) [C# MVP] (100_at_100.com)
Date: 11/01/04


Date: Mon, 1 Nov 2004 16:40:07 -0500

Hi Michael,

Even though I wasn't be supprised if the combobox does this along of all
other oddities that it has, but I checked this and it was working fine for
me.

Can you post some sample demonstrating the problem?

-- 
Stoitcho Goutsev (100) [C# MVP]
"Michael Crago" <mcrago1@optusnet.com.au> wrote in message 
news:ug6GTnEwEHA.1204@TK2MSFTNGP10.phx.gbl...
> Hi there,
>
> I have a Panel control containing 10 different controls which are all 
> added
> in the same order and then individually shown or hidden depending on the
> data being displayed in the panel. My app uses C#.
>
> The order of the controls in the Panel (as enumerated by foreach but using 
> a
> specific for index behaves exactly the same) remains the same as I show 
> and
> hide any control but a comboBox control. Changing the visibility of a
> comboBox causes it to be promoted up the order of the Controls collection
> (as viewed in the debugger).
>
> Has anyone else seen this strange behaviour and do you have any suggested
> fixes or workarouonds?
>
> Many thanks...
> Robert
> 


Relevant Pages

  • Re: Combobox Display Problem
    ... ' Find the record that matches the control. ... Header section of the form (subform), ... text field containing the Item Names, the Combobox comes up empty. ...
    (microsoft.public.access.forms)
  • ActiveX Combo reagiert nicht auf TAB Key
    ... Das ActiveX ist ein MFC ActiveX geplant für VB 6.0 Anwendung Es ist ... Ich habe das Control in eine VB Form mit einigen Anderen Controls eingebaut ... den Cursor in das Editfeld stellt, aber die Combobox dadurch nicht als das ...
    (microsoft.public.de.vc)
  • Re: VBA search coding problem -- Combobox Example
    ... Use a combobox to pick the code and then they can only choose one that DOES exists ... a control to be used for searching will be unbound, so whatever record is on the screen will not be changed. ... using ID in the fieldname implies that fieldname was created using an autonumber field in the main table and is defined to be a long integer in related tables. ... For instance, if you have a People table, define a PID autonumber field. ...
    (microsoft.public.access.modulesdaovba)
  • Re: VBA search coding problem -- Combobox Example
    ... a control to be used for searching will be unbound, ... using a combobox will solve this ... fieldname was created using an autonumber field in the main table and is ... For instance, if you have a People table, define a PID ...
    (microsoft.public.access.modulesdaovba)
  • Re: Derived UserCcontrol base controls design time behavior
    ... FeeTypeID setter not because the combobox is not created, ... I have exposed get and set property to access the comboboxes SelectedValue ... The combobo is prepopulated in control FeesBase contructor ... Code generation for property 'FeeTypeID' failed. ...
    (microsoft.public.dotnet.framework.windowsforms)