Function COMBOBOX

User avatar
Ugo
Posts: 283
Joined: Sat Oct 15, 2005 6:40 am
Location: Turin, Italy

Post by Ugo »

James Bott wrote:Perhaps you are using the numeric keypad?
James,
Is possible...
James Bott wrote:...
If TCombobox's search method is changed again, then DBCombo will also need some modifications to make sure it is working with the new TCombobox.
James,
for me the method Keychar of dbcombo should not launch the super:keychar or should contain only specific instructions..
Ciao, best regards,
Ugo
User avatar
Ugo
Posts: 283
Joined: Sat Oct 15, 2005 6:40 am
Location: Turin, Italy

Post by Ugo »

Antonio Linares wrote:Marco,

>
I think that a FWH built-in solution could be preferrable for example with a parameter to pass to the combobox command to use the incremental search or the standard search.
>

Yes, that seems the way to go
Antonio,
please see my post in:
http://forums.fivetechsoft.com/viewtopi ... t=combobox
Ciao, best regards,
Ugo
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Ugo,

>for me the method Keychar of dbcombo should not launch the super:keychar or should contain only specific instructions..

I am guessing that you mean it should have its own search. Well it did. But the new TCombobox class was using the same ::cSearhKey variable name and thus the new keystroke was getting added twice, once in TCombobox and once in DBCombo.

If we can take advantage of code in a parent class that is the best way.

James
Post Reply