Martin Sutherland
2014-03-24T08:08:13Z
If I have a grid which uses tree buttons/level to allow the user to see related records etc then a double click seems to cause the expansion/contraction as well as the user actually using the +/- tree icon. Normally this would not be an issue except when needing to use double click for other uses. In my case a double click is also used to select and return the row to another job (eg. select a job from a list of jobs). Can the default double click behaviour be supressed?
Igor/10Tec
2014-03-24T08:30:08Z
What about to use the CellDoubleClick event for that? Here is the corresponding excerpt from the help file:

引用:

The default action for the CellDoubleClick event is expanding or collapsing of a row with the tree button. The DoDefault argument of this event allows you to prohibit the default action.

Martin Sutherland
2014-03-24T09:26:13Z
Just the ticket, thanks...