July 13, 2024, 07:01:08 PM


IWBasic runs in Windows 11!

Combobox Question

Started by tbohon, February 02, 2007, 02:50:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


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.


"If you lead your life the right way, the karma will take care of itself ... the dreams will come to you."  -- Randy Pausch, PhD (1961-2008)

Ionic Wind Support Team

Try GETCONTROLTEXT which should receive the edit box text of the combo box.
Ionic Wind Support Team