Drag 'n' Drow works not with QT - PB 5.73
Posted: Fri Nov 27, 2020 11:08 am
I just noticed that Drag 'n' Drop does not work with QT.
I think it has simply been overlooked to implement it.
I think it has simply been overlooked to implement it.
Code: Select all
Define window_ID=OpenWindow(#PB_Any, 0, 0, 350, 80, "",
#PB_Window_ScreenCentered|#PB_Window_SystemMenu)
Define button_ID=ButtonGadget(#PB_Any, 10, 10, WindowWidth(window_ID)-20, 60, "How")
EnableGadgetDrop(button_ID, #PB_Drop_Files, #PB_Drag_Link)
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow