From: Eric B. <er...@eb...> - 2001-02-28 22:31:45
|
On Wed, 28 Feb 2001, Tom Allebrandi wrote: > As it turns out, and I don't know if Aldo intended for it to work this way, > if you have a handle to the control, you can also call the routine in the > "classless" way by doing > > GUI::ProgressBar::SetPos($progressControlHandle,$amount)); > > The latter is the way I talk to the controls from the thread that is not > running Win32::GUI::Dialog. What advantage does this give you? The -> form searches the @ISA class hierarchy but once it finds the function the two forms are equivilent. Is there something about use of threads which forbids object syntax? The object form is safer and seems cleaner to me. - Eric B. -- "Pasteurized From Concentrate" |