Jump to content
Fivewin Brasil

Arrastar arquivo para sistema


emotta

Recommended Posts

Sambo, vlw... Pesquisando encontrei algumas coisas e montei este exemplo que faz o que preciso... Fica aqui se alguem precisar...

vlwww

#include "fivewin.ch"

Function Teste()
Local oDlg


DEFINE DIALOG oDlg FROM 0,0 TO 350,600 TITLE "teste" PIXEL

ACTIVATE DIALOG oDlg ON INIT DropFiles( oDlg )

Return

FUNCTION DropFiles( oDlg )

   DragAcceptFiles( oDlg:hWnd, .T. )
   oDlg:bDropFiles := { | nRow, nCol, aFiles | MSgInfo( aFiles[1] ) }

RETURN (.T.)
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...