I want to have an action happen when the user double clicks on a cell.
Theonly way I have managed to get this to work is put the code in the grid's
double click event, click in the cell - then double click the row. Or if I
click in the area of the cell that
does not highlight, then it works. Ie.. kind of in the cell text padding
area .. I have set everything to read only. How can I make it so that it
does not highlight the text in the cell?
stacey
Hi stacey,
Based on my understanding, you want to intercept the double click event in
datagrid's cell.
Yes, I can reproduce out this problem. The problem is that the first click
of a double click may be caught by the datagrid (and used to activate the
cell) while the second click goes to the TextBox for the columnstyle
object. This means the TextBox thinks this is a singleclick, and does not
fire its doubleclick event.
There is a sample shows how to workaround this issue, please refer to:
"5.46 How do I catch a doubleclick in my datagrid?"
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q869q
===============================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Stacey Levine - 13 Oct 2004 22:31 GMT
Thanks.. I am using the workaround.. just seems like another one of the .net
things making life more difficult.
Stacey
> Hi stacey,
>
[quoted text clipped - 20 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
"Jeffrey Tan[MSFT]" - 14 Oct 2004 03:16 GMT
Hi Stacey,
Thanks very much for your feedback!
Yes, this really makes something more difficult, I have forwarded this
issue to our product team for you. Anyway, if you like, you may provide the
feedback for this issue yourself to:
"http://register.microsoft.com/mswish/suggestion.asp"
You suggestion will make our product more better, thank!
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.