Cant get list of controls properly
Posted: Wed Dec 10, 2008 12:35 am
Hi,
I have this winforms control, where i am trying to retrive the list of controls and pick the one I want based on index.
However the list of controls returned keeps changing. First time controls in the tab and other tab are also returned. When i call the same code second time, it returns the controls in ony that tab.
hence different number of controls returned.
Any solution? There are no IDs/names of the controls.And all are same class.
Thanks
I have this winforms control, where i am trying to retrive the list of controls and pick the one I want based on index.
However the list of controls returned keeps changing. First time controls in the tab and other tab are also returned. When i call the same code second time, it returns the controls in ony that tab.
hence different number of controls returned.
Any solution? There are no IDs/names of the controls.And all are same class.
Thanks