On Fri, 2 Mar 2001, Aldo Calpini wrote:
> this is more clear. the New Event Model I'm trying to build will
> pass a reference to the object that fired the event as its first
> parameter, so this issue will be solved.
This would be very helpful. The feature which would make this complete
for me is if each control had a tag value which could hold a scalar
reference. Then it would be simple to segue into an OO approach:
sub CommonButtonName_Clicked {
my ( $source_button ) = @_;
$source_button->Tag->execute_command_and_log_undo();
}
Tags would also be handy for things like radiobutton data values.
I know very little about Win32::GUI internals so I have no idea how
feasable this would be to implement.
- Eric B.
--
"Pasteurized From Concentrate"