From: Eric Y. K. <eri...@gm...> - 2008-05-15 08:13:22
|
Hi Dean, I'm very sorry nobody got back to you. Personally, I filed your message away in my pending queue and marked it 'reread'. By the way, it might help to attach your examples in an easy compile-and-run format, as I have hopefully done. It just smooths out these discussions a little bit! :-) On Thu, May 15, 2008 at 01:10:58 -0400, Dean Herington wrote: > I reread Daan's original paper and found a hint that layouts need to > mention each widget exactly once (though I can't find anything > definitive in documentation for either wxhaskell or wxwidgets). > Obeying that "rule" avoids the garbling, but I'm still not able > successfully to change the layout repeatedly. Could you attach your modified code? My experience with wxhaskell is that once you create a widget, it's going to be displayed, so you might as well lay it out somewhere. > Even if I could, how > then would I show different subsets of widgets at different times? You could set the visible attribute. See attachment. I do not claim that this is the right way to go about things. Maybe somebody like Mads or Shelarcy would have a better idea. -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9 |