Function COMBOBOX

Postby Ugo » Fri May 30, 2008 6: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
User avatar
Ugo
 
Posts: 283
Joined: Sat Oct 15, 2005 6:40 am
Location: Turin, Italy

Postby Ugo » Fri May 30, 2008 6: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
User avatar
Ugo
 
Posts: 283
Joined: Sat Oct 15, 2005 6:40 am
Location: Turin, Italy

Postby James Bott » Fri May 30, 2008 6: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 70 guests