Felipe Monteiro de Carvalho wrote:
Hello,
How can I implement ListBox1.Items.Add and the similar for TComboBox ?
On TWSListBox there is a method to return the strings of the control,
but there is no method to add strings to the control. I also could not
find this anywhere else.
This problem appeared when implementing some controls on the qt interface.
Look at the implementation of TGtkCListStringList
TWSCustomListBox.GetStrings returns a TStrings decendant created by the
widgetset itself. So when items are added or removed, this decendant
knows it and takes action.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives