Page 1 of 1

TXBrowse

Posted: Wed Nov 15, 2006 6:09 pm
by Gilbert
Hi All,


Can anyone tell me why TxBrowse only works with FWH. Is it because of the syntax or because it uses xHB functions

Regards,

Posted: Wed Nov 15, 2006 6:44 pm
by Antonio Linares
Gilbert,

Probably you may able to use it with some minor changes.

Posted: Fri Nov 17, 2006 5:00 am
by Gilbert
Hi Antonio,

I scattered around TxBrowse sources and found out that there is a few functions used that does not exist in FW.

Can you tell what small changes have to be made...


Regards

Posted: Fri Nov 17, 2006 7:23 am
by Antonio Linares
Gilbert,

> there is a few functions used that does not exist in FW.

Which ones ?

> Can you tell what small changes have to be made...

The xbrowse.prg contains two classes inside. You may need to separate them in two PRGs.

Posted: Fri Nov 17, 2006 9:46 pm
by Gilbert
Hi Antonio,


First, a lot of define are longer than 10 char with similar syntax.
ex.: INACTIVECAPTION...
But that can be arrange by changing the syntax I guess

Second, many METHOD also have more than 10 char with similar syntax.
ex.: CreateFromCode(), CreateFromResource()
This to can be arrage by changing the syntax

Third, and that`s the one bugging me is two functions called
XBrwScroll() and IsWindowEnable()
Can`t fing any trace of these two functions in FiveWin.

Regards

Posted: Sat Nov 18, 2006 9:08 am
by Antonio Linares
Gilbert,

> XBrwScroll() and IsWindowEnable()

IsWindowEnabled() is a Windows API function.

Use this meanwhile we may port it to 16 bits:

function XBrwScroll()
return nil