[lazarus] TCombobox

Marc Weustink marc at dommelstein.net
Fri Apr 11 16:03:39 EDT 2003


At 19:17 11-4-2003 +0200, Mattias Gaertner wrote:
>On Fri, 11 Apr 2003 11:30:06 -0500 (CDT)
>Jesus Reyes <jesusrmx at yahoo.com.mx> wrote:
>
> > (1)I'm trying to do a ComboBox Grid editor and I have some problems.
> > In Keydown() the key events VK_UP/VK_DOWN only hit when
> > ItemIndex=0/ItemIndex=Items.Count-1 respectively, reading the gtk
> > reference it seems the default behavior. Can something be done in
> > order to get keydown trap those events first?, so I can avoid item
> > selection with arrow keys and doing grid navigation instead.
>
>gtkcombo seems to use some tricks to get all keys. I had once tried to get
>them without success. Maybe someone with more gtk knowlegde has an idea.

I'll try to have a look inside.

> > (2)Combobox doesn't get ALT+DOWN but its ok, what I'm trying to do is
> > to dropdown the list by code so I can use other key combination,
> > there is a DroppedDown property but is in todo state. is there some
> > message that I could send to the control in order to do this?
>
>I added a ComboBoxDropDown method to the gtk interface. But I don't know how
>to popup the combobox. Any ideas?

Not yet

Marc







More information about the Lazarus mailing list