Event.x and y always 0

Simen Haugen simen at norstat.no
Mon Jul 21 06:31:39 PDT 2008


Simen Haugen wrote:
> I have a table that I wish to load an editor for when the user double 
> clicks on a cell. The problem is that the x and y properties of the 
> event is always 0, so I cannot find the column the user clicked.
> 
> I tried updating to the newest version, but that didn't help.
> I'm using dmd 1.028, dwt-win and tango r. 3543

Never mind. By changing the event to MouseDown the x and y properties 
are filled and everything works as expected...


More information about the Digitalmars-d-dwt mailing list