FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Function COMBOBOX
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Function COMBOBOX
Posted: Fri May 30, 2008 06:22 PM
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
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Function COMBOBOX
Posted: Fri May 30, 2008 06:25 PM
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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Function COMBOBOX
Posted: Fri May 30, 2008 06:56 PM

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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion