Page 1 of 1

Un buen browse para usar en FWH

Posted: Wed Dec 19, 2007 3:54 pm
by fespinoza
Migrando mi aplicación a 32 bites, ahora tengo errores durante la ejecución donde uso TWBrowse o TCBrowse; ¿porque es esto?; es por alguna incompatibilidad con la sintaxis en los programas de 16 bits o en xHarbour debo usar otro browse.

Si es asi cual me recomiendan

Saludos

Fernando Espinoza

Posted: Wed Dec 19, 2007 4:03 pm
by Antonio Linares
Fernando,

> ahora tengo errores durante la ejecución

Que errores son ?

Posted: Wed Dec 19, 2007 4:24 pm
by Otto

Posted: Wed Dec 19, 2007 5:20 pm
by fespinoza
Otto

De donde puedo descargar xBrowse

Saludos

Fernnado Espinoza

Posted: Wed Dec 19, 2007 6:55 pm
by Antonio Linares
Fernando,

La Clase TXBrowse está incluida en FWH

Revisa FWH/samples/TestXBrw.prg

Posted: Wed Dec 19, 2007 6:58 pm
by Otto
Browser is original FIVEWIN.
If you try the demo c:\FWH\samples\testxbrw.prg be sure to uncomment the ADS stuff.

//extern AdsKeyCount, AdsGetRelKeyPos, AdsSetRelKeyPos

//#command SET SERVER LOCAL => AdsSetServerType ( 1 )
//#command SET SERVER REMOTE => AdsSetServerType ( 2 )

//#command ET FILETYPE TO <x:NTX,CDX,ADT> ;
// => AdsSetFileType( if( upper( <(x)> ) == "NTX", 1, ;
// if( upper( <(x)> ) == "CDX", 2, 3 ) ) )


/*REQUEST ADS

rddRegister( "ADS", 1 )
rddsetdefault( "ADS" )
*/
//SET SERVER LOCAL
//SET FILETYPE TO CDX


I only made a little tool to design the outlook of the browser visually.
It saves you much time. It is a work in progress.
www.fwcodesnips.com

or


http://www.winhotel.info/aspnewsletter/ ... d=26&sud=2

Regards,
Otto

Posted: Thu Dec 20, 2007 1:02 pm
by fespinoza
Antonio

El error es el siguiente:

Application
===========
Path and name: C:\Sicef_xH\SicefWin.Exe (32 bits)
Size: 697,344 bytes
Time from start: 0 hours 5 mins 22 secs
Error occurred at: 19/12/2007, 21:12:28
Error description: Error BASE/1005 Message not found: TWBROWSE:_LADJLASTCOL

Stack Calls
===========
Called from: => TWBROWSE:ERROR(175)
Called from: tobject.prg => (b)HBOBJECT:HBOBJECT(105)
Called from: => TWBROWSE:MSGNOTFOUND(0)
Called from: WBROWSE.PRG => TWBROWSE:_LADJLASTCOL(167)
Called from: sicefwin.prg => EDITAR(0)
Called from: sicefwin.prg => (b)INICIO(0)
Called from: BTNBMP.PRG => TBTNBMP:CLICK(0)
Called from: BTNBMP.PRG => TBTNBMP:LBUTTONUP(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: CONTROL.PRG => TBTNBMP:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TWINDOW:ACTIVATE(0)
Called from: sicefwin.prg => INICIO(0)

Comente la linea donde se hace el llamado al metodo LADJLASTCOL y se elimina el error, pero esto no me pasaba en FW.

Saludos

Fernando Espinoza

Posted: Thu Dec 20, 2007 3:03 pm
by Antonio Linares
Fernando,

>
Comente la linea donde se hace el llamado al metodo LADJLASTCOL y se elimina el error, pero esto no me pasaba en FW.
>

Que browse estas usando ? De Hernán, de Manuel Mercado ?

Ningún browse de los proporcionados en FiveWin (TWBrowse, TCBrowse, TXBrowse) usa LADJLASTCOL