Displaying 1 result from an estimated 1 matches for "each_child".
2008 Nov 21
3
Dynamic generation of a (sub) layout
..., this will change later).
However when I try to open another file, the content of @selectUVFrame
disappears - nothing is displayed. I''ve inspected the children of
@selectUVFrame and they all seem to be there, except I can''t see them. If I
leave out the first line ( @selectUVFrame.each_child{|c|
@selectUVFrame.removeChild(c)}) the list of children of @selectUVFrame
grows, but again I can''t see the new ones (and the layout get''s corrupted,
too).
I seem to miss some basic understanding here and couldn''t find any hint of
what I''m doing wrong.
Thanks f...