Hello everyone, I've been using Win32::GUI for a while, but this is my first post on the mailing list.
What I'm wondering is if there is a way to iterate through all the controls in a window, by name. After creating a window, I examined the object in Komodo and I saw that its children had numerical names. For example, suppose you have N radio buttons in a group and you need to determine which one was checked. One way is to store the radio button objects in an array, iterate and use $rb_array[$i]->Checked. However, since the window must know its children, is there a way to iterate through these radio buttons using no extra array? Something like foreach (grep(/^rb/, $window->ChildrenNames)) { do_someting if $window{$_}->Checked } Thanks, Dan -- Check out my funny Californian pics at http://whatsnew.fotki.com/harwons (bookmark this address and stay tuned to my latest pics :-)