Felipe Monteiro de Carvalho wrote:
On 10/2/06, Marc Weustink <[EMAIL PROTECTED]> wrote:
Depending on the key (not just anykay), maybe yes.
For instance a enter on a button generates a click.
That´s a good point.
I tested this on delphi and you get the click when you release the
button. If we don't do that -> bug.
For every change of selection I would expect a selctionchange event in
our case.
But in our case, every change of selection is generating a OnClick.
Since it we just receive a generic selection change signal from qt, we
cannot know if it was generated by a click or by something else (like
dragging the mouse), so things will probably have to stay as they are.
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.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives