|
-
October 25th, 2006, 12:14 PM
#1
Passing Data between Controls
I have a question. I created 2 custom controls which my application uses. For simplicity lets call them Ctrl1 and Ctrl2.
How do I pass data from Ctrl1 to Ctrl2.
For instance lets say Ctrl1 changes a color. That same color must be passed to Ctrl2.
OR:
Is it possible to raise an event in Ctrl1 (OnColorChange...for example). This event gets called in the main application. From the main application the color can be passed to Ctrl2.
I believe the Event is the way to do it. Any help would be appreciated
Thanks
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
|