home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- Caption = "FMDrop Sample"
- ClientHeight = 3855
- ClientLeft = 1680
- ClientTop = 2220
- ClientWidth = 4320
- Height = 4260
- Left = 1620
- LinkTopic = "Form1"
- ScaleHeight = 3855
- ScaleWidth = 4320
- Top = 1875
- Width = 4440
- Begin FMDrop FMDrop1
- Left = 2520
- Top = 120
- End
- Begin ListBox List1
- Height = 2175
- Left = 240
- TabIndex = 0
- Top = 1440
- Width = 3855
- End
- Begin Label Label2
- Caption = "FMDrop Sample"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 12
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 375
- Left = 240
- TabIndex = 2
- Top = 240
- Width = 2895
- End
- Begin Label Label1
- Caption = "Drag some files from the File Manager (FILEMAN) on to this form. Their file names will appear in the list below."
- Height = 735
- Left = 240
- TabIndex = 1
- Top = 600
- Width = 3855
- End
- Option Explicit
- Sub FMDrop1_DropFiles ()
- Dim I As Integer
- List1.Clear
- For I = 0 To FMDrop1.FileCount - 1
- List1.AddItem FMDrop1.FileName(I)
- Next I
- End Sub
- Sub Form_Load ()
- Form1.Left = (Screen.Width - Form1.Width) / 2
- Form1.Top = (Screen.Height - Form1.Height) / 2
- End Sub
-