Hi, Eric, (I wish I could have replied earlier, but this past weekend was very busy.)
Thanks to replies from you and Mads I'm back in business. At 9:13 AM +0100 5/15/08, Eric Y. Kow wrote: >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! :-) Good idea. Will do next time. > >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. Yes, you and Mads helped me figure that out. I believe I now understand all the anomalies I saw. > >> Even if I could, how >> then would I show different subsets of widgets at different times? > >You could set the visible attribute. >See attachment. Ah, thanks for the tip. > >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. In fact, Mads's suggestion does work better for my application. (See my upcoming reply to him.) > >Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> Thanks again. And sorry I overreacted at my earlier frustration. Dean ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users