Aug 21, 2002 #1 N NicoVB Centurion Joined Jan 2, 2002 Messages 160 Location Belgium I have an instance of an control object(a linklabel). For example Dim linker as new LinkLabel But I want from code simulate the event LinkClicked of this control. How to do this??
I have an instance of an control object(a linklabel). For example Dim linker as new LinkLabel But I want from code simulate the event LinkClicked of this control. How to do this??
Aug 21, 2002 #2 D divil Ultimate Contributor Joined Nov 17, 2002 Messages 2,746 Location England How do you mean, simulate?
Aug 22, 2002 #3 N NicoVB Centurion Joined Jan 2, 2002 Messages 160 Location Belgium Let take action I think. So the code behind the linker_LinkClicked(handling the event) sub is executed
Let take action I think. So the code behind the linker_LinkClicked(handling the event) sub is executed
Aug 22, 2002 #4 D divil Ultimate Contributor Joined Nov 17, 2002 Messages 2,746 Location England You'll have to expose that subroutine and just call it.
Aug 22, 2002 #5 N NicoVB Centurion Joined Jan 2, 2002 Messages 160 Location Belgium Okay, I can't do that, because the code in the subs differ. But I think I got a solution to this.