file drop sample code

Example requests & Code samples for GdPicture Toolkits.
Post Reply
senthil
Posts: 22
Joined: Tue Jun 19, 2007 6:33 am

file drop sample code

Post by senthil » Wed Dec 12, 2007 9:04 am

Hi loic,
Do u have any sample code(vb) for file drop event. i think its new in version 4.5

regards
senthil

User avatar
Loïc
Site Admin
Posts: 5597
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Post by Loïc » Wed Dec 12, 2007 12:31 pm

Hi Senthil.

Turn the ViewerDrop property to True.

and catch the FileDrop event like that:

Code: Select all

Private Sub GdViewer1_FileDrop(ByVal sFilePath As String)
   GdViewer1.DisplayFromFile (sFilePath)
End Sub

Regards,

Loïc

senthil
Posts: 22
Joined: Tue Jun 19, 2007 6:33 am

Post by senthil » Wed Dec 12, 2007 4:50 pm

thanks loic

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests