[Gambas-bugtracker] Bug #2852: BUG in ComboBox component - QT toolkit

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Jan 30 02:00:05 CET 2024


http://gambaswiki.org/bugtracker/edit?object=BUG.2852&from=L21haW4-

Comment #1 by Bruce STEERS:

Are you aware ComboBox.List is Read only?

.List returns a "copy" of the list not the actual list the combobox uses.
The same is for ListBox.List

Use the ComboBox.Add() method not ComboBox.List.Add

the only way to affect the combobox using List it to use ComboBox1.List = aMyList
only that will way will write to the .List property, all other uses only read a copy.

Hope that makes sense.




More information about the Bugtracker mailing list