OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: mr nick on February 24, 2009, 02:17:17 AM

Title: dcl_Control_GetList - not getting list
Post by: mr nick on February 24, 2009, 02:17:17 AM
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?
Title: Re: dcl_Control_GetList - not getting list
Post by: owenwengerd on February 24, 2009, 07:05:57 AM
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.