dcl_Control_GetList - not getting list

Started by mr nick, February 24, 2009, 02:17:17 AM

Previous topic - Next topic

mr nick

I have been trying unsuccessfully to get the list of strings that make up the entries in a listbox on one of my dialogs. According to the documentation dcl_Control_GetList should do exactly what I want but whenever I use it it always returns a value of nil. Am I doing something wrong?

owenwengerd

This is a bug. The listbox is not updating the List property when items are added or removed. You could use (dcl_ListBox_GetItemText) in a loop to get the current items. Please add a bug report for this.