Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Table double click event (Read 1311 times)
pelion
Junior Member
**
Offline



Posts: 61
Joined: Nov 12th, 2006
Table double click event
May 15th, 2007 at 11:30pm
Print Post  
Hi,

I need a double click event on a table, howver the TableDblClick event appears only to fire when the table header is clicked, not the table rows.

Any ideas on how I can implement this when any part of the table is clicked?

Cheers
JC
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Table double click event
Reply #1 - May 16th, 2007 at 5:45am
Print Post  
If you handle TableCellDblClicked, it will be raised when the table is clicked anywhere but in the caption area. So you can use that event to detect clicks on the table rows. I think that if there isn't any event handler attached to TableCellDblClicked, the control will raise TableDblClicked instead, even for clicks on the rows.

Cheers,
Stoyan
« Last Edit: May 17th, 2007 at 5:56am by Stoyo »  
Back to top
 
IP Logged
 
pelion
Junior Member
**
Offline



Posts: 61
Joined: Nov 12th, 2006
Re: Table double click event
Reply #2 - May 17th, 2007 at 12:29am
Print Post  
Cheers,

I ended handling the double click on the Chart and doing a .GetTableAt function, which works just as well.

Thanks again for your help
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint