Aug 21, 2002 #1 N NicoVB Well-known member 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 Divil Well-known member Joined Nov 17, 2002 Messages 2,748 How do you mean, simulate?
Aug 22, 2002 #3 N NicoVB Well-known member 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 Divil Well-known member Joined Nov 17, 2002 Messages 2,748 Youll have to expose that subroutine and just call it.
Aug 22, 2002 #5 N NicoVB Well-known member Joined Jan 2, 2002 Messages 160 Location Belgium Okay, I cant do that, because the code in the subs differ. But I think I got a solution to this.