Felipe Monteiro de Carvalho wrote:
On 6/18/07, Joao Morais <[EMAIL PROTECTED]> wrote:
I would expect onclick fired when the user chooses another option.

There is OnChange for that.

This is fired when the text is changed. I need an event that says when the index is changed.

The onclick event shouldn't be fired when the user opens the combo,
there is another event to accomplish this.

For me the behavior looks logical. When the user click the control it
get's a OnClick.

OnClick doesn't mean exactly a click, you have OnMouseDown to accompish this. OnClick means that the user sent information to the control, and this doesn't happen when he open a combo (not usually).

In this cases of doubt we usually follow what Delphi does, unless it's
impossible to implement the behavior on Gtk. As soon as I have time I
will test to see how Delphi handles this.

My complaint is because the behavior is different when compared with Delphi. Delphi behaves exactly as I described.

Thanks again.

--
Joao Morais

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to