« Return to Thread: FXVerticalFrame clearing compos

Re: FXVerticalFrame clearing compos

by Joel VanderWerf :: Rate this Message:

Reply to Author | View in Thread

Nataraj S Narayan wrote:
> Hi
>
>
> How do i clear the FXTextFields of a FXVerticalFrame in one go?
> What is the structure that holds the components defined for the FXVerticalFrame?

IIRC, you can use the #children method:

frame.children.each do |child|
   child.text = ""
end

--
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

 « Return to Thread: FXVerticalFrame clearing compos