mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 12:04:06 +00:00
aeb9c0668b
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
33 lines
1.4 KiB
Text
33 lines
1.4 KiB
Text
{{QBDLDATE:05-20-2022}}
|
|
{{QBDLTIME:23:11:28}}
|
|
{{DISPLAYTITLE:_TOTALDROPPEDFILES}}
|
|
The [[_TOTALDROPPEDFILES]] function returns the number of items (files or folders) dropped in a program's window after [[_ACCEPTFILEDROP]] is enabled.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: {{Parameter|totalFilesReceived&}} = [[_TOTALDROPPEDFILES]]
|
|
|
|
|
|
{{PageDescription}}
|
|
* After [[_ACCEPTFILEDROP]] is enabled, [[_TOTALDROPPEDFILES]] will return 0 until the user drops files or folders into the program's window.
|
|
* When using [[_DROPPEDFILE]] to read the list sequentially, [[_TOTALDROPPEDFILES]] will be reset to 0 after the last item is retrieved (after [[_DROPPEDFILE]] returns an empty string "").
|
|
* If using [[_DROPPEDFILE]] with an index, you must call [[_FINISHDROP]] after you finish working with the list.
|
|
* When using [[_DROPPEDFILE]] to read the list with an index, [[_TOTALDROPPEDFILES]] will '''not''' be reset (and the list of items won't be cleared) until [[_FINISHDROP]] is called.
|
|
* '''[[Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions|Keyword Not Supported in Linux or MAC versions]]'''.
|
|
|
|
|
|
{{PageAvailability}}
|
|
* '''QB64 1.3 and up''' (QB64 Team)
|
|
* '''QBPE 0.5 and up''' (QB64 Phoenix Edition)
|
|
|
|
|
|
{{PageExamples}}
|
|
* See example for [[_ACCEPTFILEDROP]]
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_ACCEPTFILEDROP]], [[_DROPPEDFILE]], [[_FINISHDROP]]
|
|
* [[_FILEEXISTS]], [[_DIREXISTS]]
|
|
|
|
|
|
{{PageNavigation}}
|
|
|