|
-
Aug 31st, 2005, 05:42 PM
#1
Thread Starter
Hyperactive Member
help defining callback function
I am coding a user control. On that user control I have a dynamically created 2D array of buttons. What I want is for the user control to have a function that takes a parameter (callback function) so that when one of the buttons on the user control is clicked the callback function on the container form will be called.
This way the click event code will be written in the current project instead of the user having to modify the code in the user control.
Does that make sense?
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
|