Hi, it seems that adding for example a button Dim myButton as New Button
and then addHandler to mySub("lol", 255)
is not possible.
Where mySub
is Shared Sub MySub(byRef myString as string, myInteger as Integer)
So: addHandler myButton.click, addressOf mySub("lol", 255)
- returns an error saying it does not work with parentheses or whatever.
I somehow see why this might not be possible, so I'm looking for a work-around on this problem.
Please help _jakeCake