By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,064 Members | 1,449 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,064 IT Pros & Developers. It's quick & easy.

writing an event to that will inform a parent form

P: 12

I have a form that has a user control on it (built the user control myself). The user control consists of text boxes and buttons.

One of the buttons is a delete button. When the button is clicked I would like to have the parent form that the user control is on to be alerted by this delete.

I think i have to write events in the user control that the parent will be able to listen for and do something then the delete button is pressed.

Could someone please help me with this.

Many thanks in advance,

Apr 15 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 8,434
Hi Steve.

What version of VB are you using?

(Oh, and I think it may be the RaiseEvent statement that you're looking for.)
Apr 15 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.