July 21, 2008 Event.x and y always 0 | ||||
---|---|---|---|---|
| ||||
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 |
July 21, 2008 Re: Event.x and y always 0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen Haugen | 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...
|
Copyright © 1999-2021 by the D Language Foundation