[fxruby-users] FXVerticalFrame clearing compos

Joel VanderWerf vjoel at path.berkeley.edu
Thu Jun 11 11:34:24 EDT 2009


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


More information about the fxruby-users mailing list