ListBox and ComboBox

klaus

Expert
Licensed User
Longtime User
Hi Erel,

I found an error in the ListBox and ComboBox SelectionChanged routines.
Examples:
ListBox1_SelectionChanged (Index, Value)
ComboBox1_SelectionChanged (Index, Value)
Index returns the value instead of the index.
Value has no value.

Attached a test program.

Best regards.

EDIT:
petrbury was fater than me.
 

Attachments

  • ListBox.sbp
    1.1 KB · Views: 347
Last edited:

Merlot2309

Active Member
Licensed User
Longtime User
Not sure, sure but I think it's the same in the current version.

Using 2 tables and I want to add the records from the 2nd table that match the id from the first table (in a ComboBox)
The code is: Sub cbFam_SelectionChanged (id, Value) and the column id always returns the sqlite index instead of the id value.

Thanks in advance,
Helen
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…