From: soxinbox Date: 2005-11-15T11:57:16+09:00 Subject: Re: fxruby - need help Thanks. that solved this little test case I gave. I had a larger program that behaved the same, but the recalc did not fix it. Your help lead me to finding that the problem was that I was calling recalc on the top window thinking that it were propagate down, but fxRuby propagates up not down. A real V8 moment. "Piet Hadermann" wrote in message news:6DED3619289CD311BCEB00508B8E1336031E776D@nt-server2.antwerp.seagha.com... >> -----Original Message----- >> From: soxinbox [mailto:faker@yahoo.com] >> >> I am just starting to use fxruby, so this might be a dumb >> question. I am having trouble with hiding and showing buttons >> and text field. It seems that when I show a button or text >> field that was hidden, the button >> is placed randomly, usually under the other objects, and the >> text doesn't >> show up at all. >> ... > > > Have you tried 'recalc', like this: > > showButton.connect(SEL_COMMAND) { > recalc > print "SHOW!\n" > .... > > Piet. > >