Skip navigation.
 
mlRe: MouseUp in OutlineView
FROM : Andreas Mayer
DATE : Tue Apr 03 19:33:08 2007

Am 03.04.2007 um 18:58 Uhr schrieb Stefan Heukamp:

> I want to get the mouseUp events to start line editing on a single 
> click (like e.g in iTunes). My idea was to start line editing on 
> the mouseUp when the line was selected before, the mouseDown was at 
> most 1 second before the mouseUp and the mouse didn't move in that 
> time (much).
>
> Does anybody have an idea on how to get this working?


On mouseDown: you could start a one second timer. In the method 
called by the timer check the current mouse state (button down, 
position). You might want to add some additional code to make sure 
you don't capture double clicks etc.


Andreas

Related mailsAuthorDate
mlMouseUp in OutlineView Stefan Heukamp Apr 3, 18:58
mlRe: MouseUp in OutlineView Nick Zitzmann Apr 3, 19:05
mlRe: MouseUp in OutlineView glenn andreas Apr 3, 19:18
mlRe: MouseUp in OutlineView Andreas Mayer Apr 3, 19:33
mlRe: MouseUp in OutlineView Stefan Heukamp Apr 3, 20:10