Re: An odd redraw problem
"Paul F. Johnson" <[email protected]> Sat, 08 Oct 2011 13:33:09 +0100
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Organization | Home |
| Message-ID | <[email protected]> |
Hi, > > If I click the NumericUpDown, the code inserts new boxes and also > > reduces it as expected. However, if I click once to create 3 boxes and > > then go back down to 2, half of the third row still remains and I have > > no idea why! > > Your code does not seem to remove controls. I see how you > create and add them to some container, but you never > remove them. Ah! I thought that as I dynamically create them, they'd just be removed (if I go from say 6 rows to 5 rows, row 6 is completely removed). How do I go about removing them? Ideally, I'd remove all then add the new ones in. Thanks Paul -- Vertraue mir, ich weiss, was ich mache... _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list