FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour obrw:GoTop() [Solved]
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
obrw:GoTop() [Solved]
Posted: Tue Apr 05, 2011 01:36 PM

Hi,
without oBrw:GoTop() on ACTIVATE DIALOG command line
Cursor of Vertical Scroll Bar is positioned at the end
Is it normal??

Thank in advance
Marco

ANNOUNCE RDDSYS

FUNCTION MAIN

LOCAL oDlg
LOCAL oBrw

USE customer ALIAS test

INDEX ON test->state + test->first TAG custom TO customer
SET INDEX TO customer
GO TOP

DEFINE DIALOG oDlg FROM 100 , 100 TO 500 , 500 PIXEL

@ 0 , 1 BROWSE oBrw SIZE 190 , 190

ADD COLUMN TO oBrw DATA test -> state HEADER "STAT"
ADD COLUMN TO oBrw DATA test -> first HEADER "FIRST"
ADD COLUMN TO oBrw DATA test -> last HEADER "LAST"

ACTIVATE DIALOG oDlg ON INIT obrw:GoTop()

RETURN NIL

INIT PROCEDURE RddInit
REQUEST DBFFPT
REQUEST DBFCDX
rddSetDefault( "DBFCDX" )

Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: obrw:GoTop()
Posted: Tue Apr 05, 2011 03:59 PM

I confirm the problem with latest FWH.

EMG

Posts: 2
Joined: Tue Apr 05, 2011 01:41 PM
Re: obrw:GoTop()
Posted: Wed Apr 06, 2011 11:02 AM

Hello,

Please, when will Fivetech provide a fixed version. We need to update our FWH but there are many bugs they are not fixed and we need a stable product.

Thank you.

Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: obrw:GoTop()
Posted: Wed Apr 06, 2011 02:08 PM

I use the version

     #define FWVERSION     "FWHX 9.10"

bye

Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: obrw:GoTop()
Posted: Thu Apr 14, 2011 09:49 PM
Locate this in tcbrowse.prg:

Code (fw): Select all Collapse
      else
        nLogicPos := (::cAlias)->(RecNo())
      endif
    endif

    if cRDDName == "ADSDBFCDX"


and replace it with this other:

Code (fw): Select all Collapse
      else
        nLogicPos := (::cAlias)->(OrdKeyNo())
      endif
    endif

    if cRDDName == "ADSDBFCDX"


Already fixed in FWH repository.

EMG

Continue the discussion