AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de arrastrar y soltar
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Retrieves the number and the name of the files "dropped" from the explorer.
Note To obtain information from the explorer, the dialog must be initialized with the ExplorerAccept function.
Nb = ExplorerRetrieve(_EVE.wParam)
// Retrieve all the files
FOR i = 1 TO Nb
	Trace(ExplorerRetrieve(_EVE.wParam, i))
END
Sintaxis

Retrieving the number of dropped files Ocultar los detalles

<Result> = ExplorerRetrieve(<Message>)
<Result>: Integer
Number of selected files.
<Message>: System integer
First parameter of the WM_DROPFILES message (returned by the explorer to the WINDEV window or control), which means _EVE.wParam.

Retrieving the name of the dropped files one by one Ocultar los detalles

<Result> = ExplorerRetrieve(<Message> , <Number>)
<Result>: Character string
Name and path of the dropped file.
<Message>: System integer
First parameter of the WM_DROPFILES message (returned by the explorer to the WINDEV window or control), which means _EVE.wParam.
<Number>: Integer
Index of file whose name must be retrieved.
Observaciones
When a "Drag and Drop" is performed between the explorer and a WINDEV window (or control), the explorer sends the WM_DROPFILES message to the relevant target. The first parameter of this message (_EVE.wParam) used in ExplorerRetrieve returns the content of the "Drag and Drop" operation (number and name of the selected files).
Remarks:
  • The number and the name of the files selected in the explorer cannot be retrieved if no "Drag and Drop" operation is performed between the explorer and a WINDEV window.
  • The WM_DROPFILES constant is defined in the Winconst.wl file supplied in the "Personal\External" subdirectory and it is set to 0x233.
Componente: wd300std.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local