OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: dioneib on April 16, 2015, 05:37:37 PM

Title: Filter Combobox
Post by: dioneib on April 16, 2015, 05:37:37 PM
A cell of a GRID would like to filter the list items.
According to the text typed table items must be filtered.
The cell and type Combo Box.
It's possible ???
Title: Re: Filter Combobox
Post by: owenwengerd on April 17, 2015, 08:04:32 AM
I don't think that level of handling is possible with a grid cell edit control. You could try something fancy like cancelling the built-in edit control during OnBeginLabelEdit, then instead display your own edit control as a small modeless form that emulates a filtering combo box.
Title: Re: Filter Combobox
Post by: dioneib on April 17, 2015, 10:00:57 AM
I wanted to avoid this type of procedure.
An existing event in the table itself would be interesting.
When the KeyDown event is fired?
Title: Re: Filter Combobox
Post by: Fred Tomke on April 19, 2015, 10:03:52 PM
Hi, OnKeyDown is fired if a key is about to be pressed. I used a customized filter combo when I was younger :) as shown in the video.
Regards, Fred
Title: Re: Filter Combobox
Post by: dioneib on April 20, 2015, 02:44:14 PM
The OnKeyDown event seems to be triggered by the Grid.
What is the correct way to use a grid?
I can not work and the example there is no reference OnKeyDown in a grid object.

I wish I could filter the Combo list of options as you enter the component.
Its?

hugs
Dionei