Sundar Raman wrote: > >i've got 3 questions that i can't seem to solve from the documentation or >by trial-and-error. > >1. is there a function by which i can set an object's visible state? i'd >like to turn an object [in]visible based on user input. $object->Show(); $object->Hide(); $object->IsVisible(); >2. is there a way to scan through all the objects that are defined under a >parent? for instance, say i have a tabstrip ($TAB), with command buttons, >and textfields. is there a way to get a list of all these objects that are >defined as children of $TAB? I'm working on it :-) actually, with beta-301 you can do this: foreach $under (keys %{$TAB}) { next if $under =~ /^-/; print "Found child: $under\n"; } this relies on the fact that a reference to child is stored in the parent hash; the "next" row serves to ignore vital data stored in the object too (eg. -name, -handle, and so on). to access the actual child object, you can at this point use: $TAB->{$under} >3. is there any way to group the objects that i put onto a tabstrip >object? i need to have some way to determine/define that certain objects >are "tied" to particular pages on the tabstrip. the point is to have >objects that only show up when they are relevant, and their relevancy is >tied to the tab that the user selects. hmmm... you can put up a perl list to do it: @page1 = ($Ctrl1, $Ctrl2, $Ctrl3, ...); # and then... foreach $control (@page1) { $control->Show(); } >thanks in advance for any and all help. hope it did help :-) bye, Aldo Calpini <[EMAIL PROTECTED]> LIBERA ME DOMINE DE MORTE AETERNA IN DIE ILLA TREMENDA QUANDO COELI MOVENDI SUNT ET TERRA