﻿// Test Drag&Drop

// Create a container to embed our windows form control
Control (-0.5,123.4) (5.1,159.7) progid="Shell.Explorer" name="r1" initflag="r1init" -closeonhide 

// Define the script that will be run after a user dropped files
Set V[dragdrop_inputscript] "va03_drop_files.txt"

// Embed the control into our container
if V[r1init]
  CallVB draganddrop.form1.embed w:="&V[r1]"    _ 
  imagepath:="C:\guixtscripts\draghere_2.png"
  
endif

if not V[rows] 
  Set V[rows] "10"
endif

Table	(0,162)	(10,223)	title="Dropped Files" name="droppedfiles" rows="&V[rows]"
Column "Filename" size=60 name="col1"