Started by fred_tomke ·
2009-05-17 22:16 UTC ·
6 replies · SMF topic #763
fred_tomke
2009-05-17 22:16 UTC
Hello, am I right that enabled AllowDragBegin supresses the release of OnDoubleClick in ListViews? As far as I remember it should work. Am I wrong?
Fred
owenwengerd
2009-05-18 04:13 UTC
The fixes for your recent bug report (
{2}) may have caused some things to change. Do you mean that OnDoubleClick never fires when AllowDragBegin is enabled?
fred_tomke
2009-05-18 05:57 UTC
Yes, I can say OnDoubleClick never fires when AllowDragBegin is enabled. I tried to click thousand times in a second but it does not want to fire. Even in a modal form it is very difficult to fire on doubleclick.
Hm, I'm wondering the relationship between giving back the correct column id with the calling of on doubleclick...
Fred
owenwengerd
2009-05-18 13:38 UTC
The column id fix required a change in the sequence of Windows message processing and firing events, which is why it could have side effects. However, at the time I fixed the column id bug, I thought that I tested OnDoubleClick and it was not firing for column 0 even before the fix. I assumed this was the result of the second click being "eaten" by the hidden drag/drop window created by the first click, so I ignored it. Are you certain that it was firing in previous builds?
fred_tomke
2009-05-18 14:31 UTC
Yes, because I'm just working on a layer tool for sorting object draw order by layer order. When doubleclicking a layer or a layergroup within another layergroup the layer properties of the doubleclicked layer / layergroup can be changed. That's why I know that doubleclicked worked.
I have also a modal form with doubleclick event and enabled allowdragbegin. In this case doubleclick makes the selected layer blinking in the drawing.
Fred
owenwengerd
2009-05-18 15:14 UTC
Ok, I'll investigate to see what changed. Do you remember the latest working build?
fred_tomke
2009-05-20 05:57 UTC
Sorry for the late answer, I was out.
Since I saved all releases I will go back until I've found it.
Fred