Dynamically change the size of a Data Grid View

0
0

Ok what as changed in the latest version 2.5.16.0?

These commands used to work now they are ignored

dgvMCC.Height = intHeight;
dgvMCC.Width = intWidth;

The Data Grid View size appears to now be set when it is created as attempting to dynamically change the size by using the above commands does nothing.

Thanks for your help

 

  • You must to post comments
0
0

Turns out you need to set both the minimum and maximum size of the Drop Down control and the Data Grid View within it now takes care of itself size wise

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.