[Mono-winforms-list] GetColumn problem

Jonathan Pobst monkey at jpobst.com
Wed Sep 16 11:31:47 EDT 2009


> Does this mean that I'm relying on the TLP or something else (which would
> also explain the -1)?

It appears you are relying on the TLP.  If you were setting the column 
explicitly, it would look roughly like this:

TableLayoutPanel tlp = new TableLayoutPanel ();
Label l1 = new Label ();
Label l2 = new Label ();

tlp.SetColumn (l1, 1);
tlp.SetRow (l1, 1);

tlp.SetColumn (l2, 2);
tlp.SetRow (l2, 1);

Jonathan


More information about the Mono-winforms-list mailing list