|
-
Oct 19th, 2005, 05:37 PM
#1
Thread Starter
No place like 127.0.0.1
How do I use WithEvents?
I have seen WithEvents used before and I understand it somewhat but I am looking for some clarification. How far can its use be extended? Can I declare an object WithEvents without knowing what will be in it?
I am working on making a custom control and I have an Init() method. In that method you declare which control on the form you want to link my control to. I know the control will always have a Resize event, but I don't always know what the event will be. Is there a way to use WithEvents to access the Resize event?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|