The 'ListBoxFillFile' function adds the new data to ListBox object by using the specified path. The new data are the file names of the specified path.
void @ListBoxFillFile(string class_name, string path);
Parameters
string class_name : class name of ListBox object
string path : absolute path
Return Value
none
Example
@ListBoxResetContent("ListBox1");
@ListBoxFillFile("ListBox1", "C:\\*.* ");
Description : The first line is to delete all data of 'ListBox1'. Afterward, the new data is added to 'ListBox1'. The new data are the file names of 'C:\'.
<Example of ListBox object after the 'ListBoxFillFile' function execution>
Reference