Event

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I have a custom control, named Table, with a property name Rows of
type Generic.List(Of Row).
Row control can fire an event named RowEvent.

How can I detect when one of the Rows that was added to Table control
fired an event?

Thanks,
Miguel
 
shapper said:
Hello,

I have a custom control, named Table, with a property name Rows of
type Generic.List(Of Row).
Row control can fire an event named RowEvent.

How can I detect when one of the Rows that was added to Table control
fired an event?

Thanks,
Miguel

Add an event handler to the event of each row.

You can for example create a TableRowCollection that contains a List(Of
Row) and implements an Add method that adds an event handler to every
row that is added.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Events don't fire?! 2
Control 1
Rows 3
Generic List 3
Find Control 1
Is Nothing problem 16
Event 1
Fire Event 1

Back
Top