FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Incremental Combobox
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Incremental Combobox
Posted: Tue Aug 26, 2014 11:42 PM
The Combobox class from 08/2013 handles incremental search as the user enters characters. The exact same code with the current version of combobox does not.

PRG code:
Code (fw): Select all Collapse
    REDEFINE COMBOBOX oCbx VAR oClir:clicty ITEMS aCit ID 865 OF oDcl ;
        STYLE CBS_DROPDOWN  MESSAGE "Enter the clients city" UPDATE


RC Code:
Code (fw): Select all Collapse
  CONTROL "", 865, "ComboBox", WS_BORDER|CBS_DROPDOWN|WS_VSCROLL|WS_TABSTOP, 58, 100, 154, 191


What changed in the class, and what do I need to do to get it to work with the lastest code ?
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Incremental Combobox
Posted: Wed Aug 27, 2014 02:03 PM
Tim,

Try setting:

Code (fw): Select all Collapse
oCbx:lIncremental:=.t.


I think it defaults to .f.

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Incremental Combobox
Posted: Wed Aug 27, 2014 04:32 PM

That was the first thing I tried before doing the post, and it was not working for me.

It actually has to be lIncSearch := .t.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Incremental Combobox
Posted: Wed Aug 27, 2014 09:00 PM

Tim,

Then I would suggest doing a file compare on the current and previous version.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Incremental Combobox
Posted: Wed Aug 27, 2014 09:04 PM

I did that and there are a series of modifications to the incremental search. I'm assuming there is a shift in either the rc parameters, or the flag(s) I need to set, and that is not documented in the comparison.

I figured Antonio would know ...

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Incremental Combobox
Posted: Thu Aug 28, 2014 10:11 PM

Please respond !

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Incremental Combobox
Posted: Fri Aug 29, 2014 08:14 AM

Tim,

Please compile And link The combobox.prg of The previous version that worked fine as another prg of your app until we check it, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Incremental Combobox
Posted: Fri Aug 29, 2014 03:41 PM

That is what I'm doing for now.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion