after recompile all my Applications with FWH 9.08, everywhere I get a xBrowse-Error.
Is there maybe something to add or to change ( xBrowse-Syntax ) ?
I think, it has something to do with the new < Kinetic Scrolling >
if ::lPressed // line 3141
if ::nStartTime == 0
::nStartTime := GetTickCount()
endif
else
...
...
A Color-Selector :
- Code: Select all Expand view
oLbx2 := TXBrowse():New( oFld:aDialogs[1] )
oLbx2:nMarqueeStyle := MARQSTYLE_HIGHLROW
oLbx2:nColDividerStyle := LINESTYLE_BLACK
oLbx2:nRowDividerStyle := LINESTYLE_BLACK
oLbx2:nRecSelColor = 15512898
oLbx2:bClrSelFocus = { || { 16777215, 15512898 } }
oLbx2:bClrSel = { || { 16777215, 15512898 } }
oLbx2:SetArray( aBRCOLOR )
oLbx2:aCols[ 1 ]:cHeader = Padr("No.", 3)
oLbx2:aCols[ 2 ]:cHeader = Padr("Start", 19)
oLbx2:lHScroll := .F.
oLbx2:lVScroll := .F.
oLbx2:lFooter := .T.
oLbx2:bLClicked := { | nRow, nCol | ROW_POS1 := oLbx2:nRowSel, ;
( BR_COLOR1 := NEW_COLORS(), ;
IIF( HEADGRAD = 2, NEW_HPAINT(oLbx0), NIL ), ;
oLbx0:Refresh(), ;
oBmp1:Refresh(), oBR_COLOR1:Refresh() ) }
oLbx2:aCols[ 2 ]:AddResource("Black")
oLbx2:aCols[ 2 ]:AddResource("White")
oLbx2:aCols[ 2 ]:AddResource("Blue")
oLbx2:aCols[ 2 ]:AddResource("Green")
oLbx2:aCols[ 2 ]:AddResource("Red")
oLbx2:aCols[ 2 ]:AddResource("Yellow")
oLbx2:aCols[ 2 ]:AddResource("Magenta")
oLbx2:aCols[ 2 ]:bBmpData := {|| oLbx2:nArrayAt }
oLbx2:aCols[ 2 ]:bStrData := {|| oLbx2:aRow[2] }
oLbx2:nArrayAt := ROW_POS1
oLbx2:nRowSel := ROW_POS1
oLbx2:nFooterHeight := 15
oLbx2:CreateFromResource( 110 )
ERROR :
Application
===========
Path and name: E:\T_XBROW\brwtools.exe (32 bits)
Size: 2,283,520 bytes
Time from start: 0 hours 0 mins 4 secs
Error occurred at: 08/26/09, 15:33:00
Error description: Error BASE/1066 Argument error: conditional
Args:
[ 1] = U
Stack Calls
===========
Called from: .\xBrowse.PRG => TXBROWSE:MOUSEMOVE(3141)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT(1453)
Called from: .\xBrowse.PRG => TXBROWSE:HANDLEEVENT(9915)
Called from: .\source\classes\WINDOW.PRG => _FWH(3333)
Called from: => WINRUN(0)
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE(952)
Called from: .\Brwtools.PRG => MAIN(601)
Best Regards
Uwe