Re: bDragBegin and bDropOver problem *Unresolve*
Posted: Thu Dec 19, 2024 6:25 am
Dear Master Rao,
Any update, thx in advance,
Dutch
Any update, thx in advance,
Dutch
www.FiveTechSoft.com
https://forums.fivetechsupport.com/
Code: Select all | Expand
#include "FiveWin.ch"
function Main()
local oCur, oDlg, oBrw
DEFINE CURSOR oCur DRAG
DEFINE DIALOG oDlg SIZE 600,250 PIXEL
@ 20,20 XBROWSE oBrw SIZE 100,-20 PIXEL OF oDlg ;
DATASOURCE { "One", "Two", "Three" } ;
CELL LINES NOBORDER
WITH OBJECT oBrw
:nStretchCol := 1
:oDragCursor := oCur
:bDragBegin := { || SetDropInfo( oBrw:aCols[ 1 ]:Value ) }
:CreateFromCode()
END
oDlg:bDropOver := { |u,r,c,f| MsgInfo( "no drop here" ) }
ACTIVATE DIALOG oDlg CENTERED
return nil
Code: Select all | Expand
METHOD LButtonUp( nRow, nCol, nFlags ) CLASS TXBrowse
local nCaptured
local nRowAdvanced, nTimeScrolled, nVelocity, nRowToAdvance
local nRatio, n, cMsg := ""
if ::lDrag
return ::Super:LButtonUp( nRow, nCol, nFlags )
endif
// if nRow <= ::nTopBarHeight HERE !!!
// return 0 HERE !!!
// endif HERE !!!
Code: Select all | Expand
Error: Unresolved external '_HB_FUN_ISRECORDSET' referenced from D:\FWH2304\LIB\FIVEHX.LIB|drxl
Antonio Linares wrote: Fri Mar 07, 2025 3:07 pm Fixed bug, in Class TXBrowse Method LButtonUp:
Code: Select all | Expand
METHOD LButtonUp( nRow, nCol, nFlags ) CLASS TXBrowse local nCaptured local nRowAdvanced, nTimeScrolled, nVelocity, nRowToAdvance local nRatio, n, cMsg := "" if ::lDrag return ::Super:LButtonUp( nRow, nCol, nFlags ) endif // if nRow <= ::nTopBarHeight HERE !!! // return 0 HERE !!! // endif HERE !!!
Antonio Linares wrote: Fri Mar 07, 2025 4:10 pm Dear Dutch,
I have just emailed you the latest FWH libs for you to test them
many thanks for your feedback