Showing a Control underneath another Control
-
Hello all. I am interested in hiding a ListView Control underneath a TabControl. The ListView Control will contain say, 5 columns. When the user selects 1 of the tabs, I want to show the ListView and 3 columns (the other 2 will be hidden). When the user selects the other tab, I want to show the other 2 columns of the ListView. Is there a way to do this without creating two ListViews (1 for each Tab)? I have tried using all the Focus, Selected, and Show functionalities to the hidden ListView, but it will not appear over the TabControl. Thanks for the help.
-
Hello all. I am interested in hiding a ListView Control underneath a TabControl. The ListView Control will contain say, 5 columns. When the user selects 1 of the tabs, I want to show the ListView and 3 columns (the other 2 will be hidden). When the user selects the other tab, I want to show the other 2 columns of the ListView. Is there a way to do this without creating two ListViews (1 for each Tab)? I have tried using all the Focus, Selected, and Show functionalities to the hidden ListView, but it will not appear over the TabControl. Thanks for the help.
A little unclear with what you are trying to do. Try using the BringToFront and SendToBack Functions if you are wanting to change the z-order of the form.
-
A little unclear with what you are trying to do. Try using the BringToFront and SendToBack Functions if you are wanting to change the z-order of the form.
I believe this is exactly what I am looking for. Thanks for the help.