NicoVB Posted August 21, 2002 Posted August 21, 2002 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?? Quote Visit http://www.nico.gotdns.com Now ONLINE!
*Gurus* divil Posted August 21, 2002 *Gurus* Posted August 21, 2002 How do you mean, simulate? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
NicoVB Posted August 22, 2002 Author Posted August 22, 2002 Let take action I think. So the code behind the linker_LinkClicked(handling the event) sub is executed Quote Visit http://www.nico.gotdns.com Now ONLINE!
*Gurus* divil Posted August 22, 2002 *Gurus* Posted August 22, 2002 You'll have to expose that subroutine and just call it. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
NicoVB Posted August 22, 2002 Author Posted August 22, 2002 Okay, I can't do that, because the code in the subs differ. But I think I got a solution to this. Quote Visit http://www.nico.gotdns.com Now ONLINE!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.