Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmDataGrid's DoubleClick event fires twice
Message
From
03/06/2005 04:22:51
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
MmDataGrid's DoubleClick event fires twice
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01019718
Message ID:
01019718
Views:
68
Hi,

Not sure if this is a bug or not. A mmDataGrid's DoubleClick event fires twice when I set its SelectRowOnRowClick property to true and doubleclick on the row selector (that grey column on the left with the arrow indicating which row has the current index).

The DoubleClick event only fires once when I doubleclick on a single cell.

To reproduce :

Put a mmDataGrid on a mmBusinessForm.
Set SelectRowOnRowClick to true.
Add code to mmDataGrid's DoubleClick event (something a breakpoint can be set on)
Register a business object with the form and map the default table to the mmDataGrid.
Compile and Run
DoubleClick on the row selector (the code in the mmDataGrid's doubleclick event should fire twice)
DoubleClick on a single cell (the entire row should be selected and the doubleclick event should be fired only once)

Sincerely,

Andrew
Reply
Map
View

Click here to load this message in the networking platform