Hi All,
I have a bit of a problem. This is happening with GTK2.
I have a StringGrid where when the column header is clicked on, a
ComboBox appears in the header in the dropped down state. The dropped
down state is done in the mouseDown event of the StringGrid by doing
ComboBox.DroppedDown := true .
The Combobox only stays dropped down while mouse is down. Preferably I
would like it to stay dropped even if the mouse is released, and only
close when a selection is made.
The other more serious problem is that once the ComboBox is used, I
cannot select anything else outside of the StringGrid. I guess what must
be happening is that once the ComboBox pops up it steals the mouse from
the StringGrid, with no proper finish on the StringGrid side of it.
Is there something I can do to get around these problems ?
To note, If I do not have the ComboBox show in the dropped-down state by
doing DroppedDown := true, these problems do not happen, but then you
have to click to have the ComboBox to have it appear and click again to
have it drop down. Not what I want.
BTW, this code runs OK on Delphi with ComboBox staying dropped down and
proper mouse release.
Thanks,
George
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives