Could someone show me what I am doing wrong that oSay drag doesn’t fire a oWnd:bDropOver?
// FiveWin - own Drag&Drop new features !!!
#include "FiveWin.ch"
static oWnd
//----------------------------------------------------------------------------//
function Main()
local oSay, oCrs, oIco1, oIco2, oIco3
DEFINE CURSOR oCrs DRAG
DEFINE WINDOW oWnd TITLE "FiveWin own Drag&Drop features"
oWnd:bDropOver = { || MsgStop( "Hey, don't litter here !!!" ) }
@ 4, 5 ICON oIco1 FILENAME "..\icons\Recycle2.ico" OF oWnd
@ 8, 15 SAY oSay PROMPT "Test" COLORS nRGB( 255, 0, 0 ) , nRGB( 55, 55, 255) of Ownd
oSay:lDrag = .t.
oSay:oDragCursor = oCrs
oIco1:oDragCursor = oCrs
ACTIVATE WINDOW oWnd
return nil