Am I missing something? It seems that Sender only returns the last part of a controls name e.g. "Button1". As I can have a Button1 on different Forms in different modules but wired to a common Click event I don't seem to be able to identify which "Button1" of which module actually raised the event! Sender does know this and gets/sets properties on the correct button but I cannot see the full name in my program.
I know that I can overcome this by giving each button a unique name but that seems to undermine the use of modules for segregation.
Perhaps we could do with a SenderFullName keyword or something similar to get the fully qualified name of the Sender of an event.
I know that I can overcome this by giving each button a unique name but that seems to undermine the use of modules for segregation.
Perhaps we could do with a SenderFullName keyword or something similar to get the fully qualified name of the Sender of an event.