Felipe Monteiro de Carvalho wrote:
> On 10/2/06, Marc Weustink <[EMAIL PROTECTED]> wrote:
>> Don't think so. It's maybe a limitation of the implementation for Qt,
>> but for GTK we had the same problem. There we also track the
>> mousebuttons to see if they were pressed. If so then click, otherwise
>> not.
>> I've to admit that the button state tracking might need an improvement,
>> but it is certainly possible to detect if a selection changed by a
>> "click" or not.
>
> And what if the selection was changed with the keyboard? Can you also
> detect that?
Better do the reverse approach, set a flag when changed programatically
or when the selection changes through dragging (IE, sel change when the
mouse is down). All other changes are by click.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives