smartmedia:
If you are asking that the same ListBox or ComboBox to (sometime) return values in
Variable: (to store selected item) as
Item number and at (other) times to return
Item text ... please note that you can accomplish this by setting this property at Design time to
Item number ... and when you want the associated
Item text ...
- Code: Select all
ListBoxGetItem "ListBox1" "[ListBox1]" "[ListBox1Text]"
@ NeoSoft Support - perhaps, in future the ListBox/ComboBox objects could be setup so ... if
Variable: (to store selected item) was specified as [ListBox1] ... then additionally, [ListBox1.Text] and [ListBox1.Number] would also be automatically updated ... that way older applications can continue to use the current methods ... and newer applications (if so chosen by the developer) could just directly access one or the other desired value.