DumpFilesInQ

Return to Introduction  Previous page  Next page

Prototype: (Queue pQ, *? pFileNameField, Byte pFreeQ = True, Byte pLoadFileList = True)

 

pQQueue to be loaded from the FileList queue.
pFileNameFieldLabel of a field in the pQ queue that will receive the filename.  This should be either a String or CString field.
pFreeQIndicates if the pQ should be freed or not before the file list is loaded.  Defaults to True
pLoadFileListIndicates if the file list should be loaded.  Defaults to True.  If this is True, then the Send2FileList is called.

 

This method is used to transfer the entries from the FileList class queue to a queue in a local procedure, perhaps to use in a listbox. 

 

Example:

ITS2  ITSend2Class

Loc:FileQ            QUEUE,PRE()

Loc:FileName           CSTRING(2049)

                    END

Window               WINDOW('Files sent from Windows Explorer'),AT(,,315,218),|

                      ICON('C.ico'),SYSTEM,GRAY,MAX,RESIZE,IMM

                      LIST,AT(4,4,306,210),USE(?List1),VSCROLL,FONT('Calibri',9,,),|

                        FORMAT('1020L(2)|M~File Name~S(1020)@s255@'),FROM(Loc:FileQ)

                    END

 

Code

ITS2.DumpFilesInQ(Loc:FileQ, Loc:FileName, True, True)

Open(Window)

Display

Accept

End

Close(Window)

 

See also:

Send2FileList
FileList



Direct link to this page on our website: http://www.icetips.com/manuals/send2/dumpfilesinq.htm