CFileDlg:Start
The Start method begins iteration over the list of file names returned by the Open method.
CFileDlg:Start()
|
This method initializes the iteration for fetching the file names selected in the Open dialog. Use the Next method to return each of the successive file names.
The following example uses Start to initialize a loop over files returned by the Open method:
|
-- create a CFileDlg object, F
|
|
-- set the flag for selecting more than 1 file |
|
-- allow selecting up to 100 files |
|
-- get a file name |
-- create a table to hold the names of the selected files |
|
|
-- create the table |
|
-- setup an index counter |
|
-- initialize the file name iteration |
|
-- loop through the selected files: |
|
-- put file name into table |
|
-- increment the table index |
|
|