B4J Question DragAndDrop2.b4xlib

rfresh

Well-Known Member
Licensed User
Longtime User
I'm using the DragAndDrop2 demo and I have copied the DragAndDrop2.b4xlib file to my B4J C:\AdditionalLibraries folder.

However, I'm still seeing the 'are you missing a library reference?' in the lines 19 and 20. I thought additional libraries were automatically picked up if they were in the AdditionalLibraries folder?

B4X:
#Region Project Attributes
    #MainFormWidth: 1200
    #MainFormHeight: 600
#End Region
#LibraryAuthor: Steve Laming
#LibraryName: jDragAndDrop2
#LibraryVersion: 0.1

Sub Process_Globals
    Private fx As JFX
    Private MainForm As Form
    Private xui As XUI
    Private Pane5 As Pane
    Private Pane6 As Pane
    Private Pane4 As Pane
    Private Pane2 As Pane
    Private Pane3 As Pane

    Private DragDrop As DragAndDrop
    Private DragDrop1 As DragAndDrop
    
End Sub

Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1
    MainForm.RootPane.LoadLayout("Layout1")
    MainForm.Show
End Sub

Sub Pane4_DragDetected(e As MouseEvent)
    'DragDrop.SetDragModeAndData2(TransferMode.ANY, Array As String("B4JSource"), Array As Object(txtSource.text), txtSource.Snapshot)
    'Log("DragDetected : Starting drag")
End Sub
 
Top