FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Combobox over-ride ITEM array of values
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Combobox over-ride ITEM array of values
Posted: Fri Sep 28, 2012 03:10 PM
To All

I am trying to figure out how to use a combobox from resources that will allow me to insert a value other than the array values defined by the ITEM parameter.

Code (fw): Select all Collapse
REDEFINE COMBOBOX oCity  var cCity   ID 157 of oCust ;
         ITEMS { "Columbia    ","Irmo        ","Lexington   " }


As in the above ... If I live in "Pittsburg" and the ITEM array does not have that value .. I want to be able to type that in as cCity and save that to the database. Since "Pittsburg" is not an element in the ITEM array .. I do not get the chance to over-ride the array values.

Any Ideas ?

Thanks
Rick Lipkin
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Combobox over-ride ITEM array of values
Posted: Fri Sep 28, 2012 05:48 PM
Code (fw): Select all Collapse
REDEFINE COMBOBOX oCity  var cCity   ID 157 of oCust ;
         ITEMS { "Columbia    ","Irmo        ","Lexington   " };
         STYLE CBS_DROPDOWN


EMG
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Combobox over-ride ITEM array of values
Posted: Fri Sep 28, 2012 09:11 PM

Enrico ..

Thank you !

Rick

Continue the discussion