Hola buenos d铆as para todos, cuando intento hacer zoom en el xbrowse sale el siguiente error:
Como defino el xbrowse
Application
===========
聽 聽Path and name: C:\dlyma\hymlyma.exe (32 bits)
聽 聽Size: 7,605,248 bytes
聽 聽Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20190613)
聽 聽FiveWin 聽version: FWH 19.09
聽 聽C compiler version: Borland/Embarcadero C++ 7.3 (32-bit)
聽 聽Windows version: 6.2, Build 9200
聽 聽Time from start: 0 hours 0 mins 2 secs
聽 聽Error occurred at: 09/04/2022, 11:12:32
聽 聽Error description: Error BASE/1082 聽Error de argumento: -
聽 聽Args:
聽 聽 聽[ 聽 1] = U 聽
聽 聽 聽[ 聽 2] = N 聽 14.00
Stack Calls
===========
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CHECKSIZE( 1312 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 2101 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 2042 )
聽 聽Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1767 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11223 )
聽 聽Called from: .\source\classes\WINDOW.PRG => _FWH( 3559 )
聽 聽Called from: 聽=> DIALOGBOXINDIRECTW( 0 )
聽 聽Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 304 )
聽 聽Called from: .\source\function\ERRSYSW.PRG => ERRORDIALOG( 436 )
聽 聽Called from: .\source\function\ERRSYSW.PRG => (b)ERRORSYS( 23 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CHECKSIZE( 1312 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:ADJUST( 1419 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:RECALCWH( 8906 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:FONTSIZE( 8884 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:KEYDOWN( 3458 )
聽 聽Called from: 聽=> TWINDOW:HANDLEEVENT( 0 )
聽 聽Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1801 )
聽 聽Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11223 )
聽 聽Called from: .\source\classes\WINDOW.PRG => _FWH( 3559 )
聽 聽Called from: 聽=> WINRUN( 0 )
聽 聽Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1097 )
聽 聽Called from: z:\prg\R32_menu.prg => INICIONUEVO( 1299 )
聽 聽Called from: z:\prg\R32_menu.prg => MAIN( 100 )Como defino el xbrowse
.....
.....
.....
聽 聽 @ 63 , 7 XBROWSE oBrw ;
聽 聽 SIZE 156 , 70 OF oDlg PIXEL ;
聽 聽 DATASOURCE aEmpresas ;
聽 聽 COLUMNS 1, 2;
聽 聽 LINES STYLE FLAT NOBORDER
聽 聽 WITH OBJECT oBrw
聽 聽 聽 聽 :lRecordSelector 聽 聽聽 聽 := .T.
聽 聽 聽 聽 :lHScroll 聽 聽 聽 聽聽 聽:= .F.
聽 聽 聽 聽 :lVScroll 聽 聽 聽 聽聽 聽:= .T.
聽 聽 聽 聽 :l2007 聽 聽 聽 聽 聽 聽 聽:= .F.
聽 聽 聽 聽 :lFitGridHeight 聽聽 聽聽 聽 := .T.
聽 聽 聽 聽 :nHeaderHeight 聽 聽 聽聽 聽 := 21
聽 聽 聽 聽 :nRowHeight 聽 聽 聽聽 聽:= 21
聽 聽 聽 聽 :nMarqueeStyle 聽 聽 聽聽 聽 := MARQSTYLE_HIGHLROW
聽 聽 聽 聽 :lColDividerComplete 聽 聽:= .t.
聽 聽 聽 聽 :nColorPen 聽 聽 聽 聽 聽:= CLR_HGRAY
聽 聽 聽 聽 :lFullGrid 聽 聽 聽 聽 聽:= .T.
聽 聽 聽 聽 :nStretchCol 聽 聽 聽 聽聽 聽 := STRETCHCOL_LAST
聽 聽 聽 聽 :bClrHeader 聽 聽 聽 聽 聽 聽 := { || { CLR_WHITE, Rgb( 0,120,215 ), CLR_HGRAY } }
聽 聽 聽 聽 :nRecSelColor 聽 聽 聽 聽 聽 := RGB( 255, 255, 255 )
聽 聽 聽 聽 :bClrSelFocus 聽 聽 聽 聽 聽 := { || { Rgb(55,55,55), RGB( 185, 220, 255 ) } }
聽 聽 聽 聽 :bClrStd 聽 聽 聽 聽 聽 聽:= { || { Rgb(55,55,55), CLR_WHITE } }聽 聽 聽 聽 聽
聽 聽 聽 聽 :SetFont( oFontSe1 )
聽 聽 聽 聽 :CreateFromCode()
聽 聽 聽 聽 :bChange 聽 聽 聽 聽 聽 聽:= {|| EVAL(cbSelEmpresa) }聽
聽 聽 聽 聽 :lAutoSort 聽聽 聽 聽 聽 := .t.
聽 聽 聽 聽 :lIncrFilter 聽 聽聽 聽 := .t.
聽 聽 聽 聽 :lSeekWild 聽聽 聽 聽 聽 := .t.
聽 聽 聽 聽 :bKeyDown 聽 聽 聽 聽 聽聽:= {|nKey,oGet,nCol|TeclasIni(nKey,oGet,nCol,oBrw)}
聽 聽 聽 聽 //:bKeyDown 聽 聽 聽 聽 聽 聽 := {|nKey| if(nKey == VK_DELETE, ( oBrw:Seek( "" ), oBrw:GoTop() ), ) }聽聽 聽
聽 聽 聽 聽 :aCols[1]:bLClickHeader := {|| oBrw:Seek( "" ), oBrw:cFilterFld := "C贸d", oBrw:nColSel := 1, oBrw:GoTop() }
聽 聽 聽 聽 :aCols[2]:bLClickHeader := {|| oBrw:Seek( "" ), oBrw:cFilterFld := "Nombre", oBrw:nColSel := 2, oBrw:GoTop() }
聽 聽 聽 聽
聽 聽 END
聽 聽 WITH OBJECT oBrw:aCols[ 1 ]
聽 聽 聽 聽 :bStrData := {|| if(Len( aEmpresas ) > 0 , alltrim(aEmpresas[oBrw:nArrayAt]["e_codi"]) , "" ) } 聽
聽 聽 聽 聽 :cHeader 聽= "C贸d"
聽 聽 聽 聽 :nWidth 聽 = 30
聽 聽 聽 聽 :nHeadStrAlign = AL_LEFT
聽 聽 聽 聽 :nDataStrAlign = AL_LEFT聽 聽
聽 聽 聽 聽 :oHeaderFont = oFontSes 聽
聽 聽 END 聽
聽 聽
聽 聽 WITH OBJECT oBrw:aCols[ 2 ]聽
聽 聽 聽 聽 :bStrData := {|| if(Len( aEmpresas ) > 0 , alltrim(aEmpresas[oBrw:nArrayAt]["e_nomb"]) , "" ) } 聽
聽 聽 聽 聽 :cHeader 聽= "Nombre"
聽 聽 聽 聽 :nWidth 聽 = 210
聽 聽 聽 聽 :nHeadStrAlign = AL_LEFT
聽 聽 聽 聽 :nDataStrAlign = AL_LEFT聽 聽
聽 聽 聽 聽 :oHeaderFont = oFontSes
聽 聽 END
....
....
...Saludos
LEANDRO AREVALO
Bogot谩 (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com
[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 25.01 ] [ xHarbour 64 bits) ]
LEANDRO AREVALO
Bogot谩 (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com
[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 25.01 ] [ xHarbour 64 bits) ]