IonicWind Software

IWBasic => GUI Central => Topic started by: tbohon on February 02, 2007, 02:50:46 PM

Title: Combobox Question
Post by: tbohon on February 02, 2007, 02:50:46 PM
I'm obviously missing something here ...

I have a combobox which I preload with desired values.  However, how do I add the text of an unlisted value to the list?  For example, if the combobox is loaded with 'a', 'b', and 'c' and the user types in 'd' I want to add 'd' to the list.  I obviously need to use the ADDSTRING function ... but how do I read the text that was typed in?  All of the control commands need the index within the string - which, obviously, is going to be nil.

Tnx.

Tom
Title: Re: Combobox Question
Post by: Ionic Wind Support Team on February 03, 2007, 07:02:43 AM
Try GETCONTROLTEXT which should receive the edit box text of the combo box.