[Mono-winforms-list] Not sure how to do this (table problem)

Paul paul at all-the-johnsons.co.uk
Wed Nov 12 10:36:10 EST 2008


I have a table with 6 columns, the first and last are fixed size, the
other 4 are 25% of the remaining size. Each cell has a text box (current
size, 120x39).

I also have a radio button which swaps the appearance, but it's not.

What I'm trying to do is set the text boxes in columns 3, 4 and 5 to
Visible = false and then resize the text box in column 2 to cover those.

Currently, all I'm doing is

textbox1.Size = new Size(439, 39);

This isn't resizing textbox1 though and I can't see a way to set the
columnspan to be 4 (which may fix the problem).

Is there a simple way to do what I'm looking to do?



Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20081112/82e24f68/attachment.bin 

More information about the Mono-winforms-list mailing list