M
Michael Crago
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
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