[Gambas-user] Still no drag and drop

T Lee Davidson t.lee.davidson at gmail.com
Thu Mar 16 21:32:34 CET 2023


On 3/16/23 14:52, Steve via User wrote:
> I am running on fedora. The 3.18.1 update finally came through. It corrected my major problems. However the drag and drop is 
> still non-functional for me. It does not even trigger the event. I am using it on a list box and the dragon drop still does not 
> trigger at all.

It works fine here. With just a ListBox, a TextBox, and the following code, I can drag the textbox text to the listbox and add 
it to the list:

[code]
' Gambas class file

Public Sub ListBox1_Drop()

   ListBox1.Add(Drag.Data)

End

Public Sub TextBox1_MouseDrag()

   TextBox1.Drag(TextBox1.Text)

End
[/code]

Be sure you have set ListBox.Drop = True.


-- 
Lee



More information about the User mailing list