Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Hiding a control without whitespace

$
0
0

Hi,

I am designing a windows form application, in that i have to hide a textbox and groupbox control based on the seleced item of a combo box. i used the "Visible" property as below:

Textbox1.Visible = false;

Groupbox1.Visible = false;

It hides the textbox and groupbox but the space occupied by them is get remained. Is there any way to hide the controls without having the white space.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>