FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TXBrowse():PageUp() problem with ADSCDX.
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
TXBrowse():PageUp() problem with ADSCDX.
Posted: Tue Apr 15, 2008 02:26 AM
Dear Antonio,

there is an error of ::PageUp() in TXBrowse() for ADS, when the items have more than number of lines in XBrowse. I use xHb.com/FWH 8.04/ADS.

I found when I press PageDown and PageUp, if there are a lot of items in XBrowse and effect only ADS.

Regards,
Dutch

   Error description : Error BASE/1001  Undefined function: ADSSETRELKEYPOS
   Args:
     [   1] = N   0.82

Stack Calls
===========
   Called from :  => ADSSETRELKEYPOS(0)
   Called from : xbrowse.prg => (b)TXBROWSE:SETRDD(2872)
   Called from : xbrowse.prg => TXBROWSE:PAGEUP(2096)
   Called from : xbrowse.prg => TXBROWSE:KEYDOWN(1575)
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
TXBrowse():PageUp() problem with ADSCDX.
Posted: Tue Apr 15, 2008 05:25 AM
Mr Duch

In one of your programs include this line
REQUEST ADSKEYCOUNT, ADSGETRELKEYPOS, ADSSETRELKEYPOS

and then build your project.

I normally include this line in the main program
Regards



G. N. Rao.

Hyderabad, India
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
TXBrowse():PageUp() problem with ADSCDX.
Posted: Tue Apr 15, 2008 03:17 PM
Dear nageswaragunupudi,

It's fixed. I've this line in my main program but it doesn't help. What is the different between EXTERNAL and REQUEST ?
external ADSKEYCOUNT, ADSGETRELKEYPOS, ADSSETRELKEYPOS


Another strange thing
When I :-)ageDown() until the last line and :-)ageUp(), then it can go to the first page but it cannot go to the first line (item). If I press :GoUp() or :GoDown() and then I will be able to press :-)ageUp() to first line.

Regards,
Dutch
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
TXBrowse():PageUp() problem with ADSCDX.
Posted: Tue Apr 15, 2008 03:52 PM

>
What is the different between EXTERNAL and REQUEST ?
>
In my view both have the same effect of requesting the linker to link these symbols ( functions ).

>
When I :PageDown() until the last line and :PageUp(), then it can go to the first page but it cannot go to the first line (item). If I press :GoUp() or :GoDown() and then I will be able to press :PageUp() to first line.
>
It seems thats how the authors of the program have written it. If we express here what is the behavior we all like to have, I hope Mr Antonio can provide it in the next release. Meanwhile we may work out a fix if possible

Regards



G. N. Rao.

Hyderabad, India
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
TXBrowse():PageUp() problem with ADSCDX.
Posted: Tue Apr 15, 2008 06:47 PM
Dear nageswaragunupudi,

nageswaragunupudi wrote:>
What is the different between EXTERNAL and REQUEST ?
>
In my view both have the same effect of requesting the linker to link these symbols ( functions ).

I put in REQUEST. It fixed but EXTERNAL got an error.

nageswaragunupudi wrote:>
When I :-)ageDown() until the last line and :-)ageUp(), then it can go to the first page but it cannot go to the first line (item). If I press :GoUp() or :GoDown() and then I will be able to press :-)ageUp() to first line.
>
It seems thats how the authors of the program have written it. If we express here what is the behavior we all like to have, I hope Mr Antonio can provide it in the next release. Meanwhile we may work out a fix if possible


I try to remove this following line, it fixed but somewhere with this line without problem. I'm not quite understand.
::bChange := {|| oBrw:Refresh() }


Anyway, thanks a lot for your helpful.

Regards,
Dutch
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
TXBrowse():PageUp() problem with ADSCDX.
Posted: Tue Apr 15, 2008 07:48 PM

>
I put in REQUEST. It fixed but EXTERNAL got an error.
>
I dont see why should you get an error. I use either external or request and both work fine for me.

>
:bChange := {|| oBrw:Refresh() }
>

Unless you are referring to another browse, this slows down browse a lot. Because refreshing entire browse with every row movement costs lot of time.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion