AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de arrastrar y soltar
  • "Drag and Drop" from the explorer
ExplorerRetrieve (Example)
"Drag and Drop" from the explorer
The following example is used to retrieve files by "Drag and Drop" from the Windows explorer. The names of files are displayed in a Trace window.
// Initialize the dialog
ExplorerAccept(True, WIN_Win1)
// Branch the WM_DROPFILES event
Event("Explorer", "*.", 563)
PROCEDURE Explorer()
Nb is int
i is int
// Retrieve the number of files
Nb = ExplorerRetrieve(_EVE.wParam)
// Retrieve all the files
FOR i = 1 TO Nb
Trace(ExplorerRetrieve(_EVE.wParam, i))
END
// End of dialog
ExplorerAccept(False, WIN_Win1)
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/05/2022

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