DataGrid double-click detection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mdb

    DataGrid double-click detection

    I need to detect when the user double-clicks on a cell in a DataGrid in
    WindowsForms, but the doubleClick event doesn't seem to respond when its in
    the data area. (It does respond if I double click the row header.)

    Any suggestions?

    -mdb
  • TT \(Tom Tempelaere\)

    #2
    Re: DataGrid double-click detection

    Hi,

    "mdb" <m_b_r_a_y@c_t_ i_u_s_a__d0t__c om> schreef in bericht
    news:Xns96519A3 7D15Ambrayctius acom@207.46.248 .16...[color=blue]
    >I need to detect when the user double-clicks on a cell in a DataGrid in
    > WindowsForms, but the doubleClick event doesn't seem to respond when its
    > in
    > the data area. (It does respond if I double click the row header.)
    >
    > Any suggestions?
    > -mdb[/color]

    This FAQ, look up "How do I catch a double-click event in a DataGrid".



    You might want to consider posting posts on windows controls in
    microsoft.publi c.dotnet.framew ork.windowsform s
    or
    microsoft.publi c.dotnet.framew ork.windowsform s.controls

    HTH,
    Tom T.


    Comment

    Working...