Martin_T
(Martin T)
1
Hi everyone,
I subclassed some Container Controls and tried to add the ContainerControls.Resized-Event by code via
AddHandler MyContainer(mMyContainer.Value).Resized, WeakAddressOf ResizeMyContainer
but I’ll get an Compiler-Error. Why? I never had problems using this way.
Best regards
Eli_Ott
(Eli Ott)
2
Read the error message and you know what is wrong (the handler needs a parameter of type MyContainer).
Martin_T
(Martin T)
3
You are right Eli Ott, I forgot it. It’s the same like creating a Timer via Code
Thank you!