obrw:GoTop() [Solved]

obrw:GoTop() [Solved]

Postby MarcoBoschi » Tue Apr 05, 2011 1: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" )
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: obrw:GoTop()

Postby Enrico Maria Giordano » Tue Apr 05, 2011 3:59 pm

I confirm the problem with latest FWH.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: obrw:GoTop()

Postby pascual » 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.
pascual
 
Posts: 2
Joined: Tue Apr 05, 2011 1:41 pm

Re: obrw:GoTop()

Postby MarcoBoschi » Wed Apr 06, 2011 2:08 pm

I use the version

#define FWVERSION "FWHX 9.10"
bye
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: obrw:GoTop()

Postby Enrico Maria Giordano » Thu Apr 14, 2011 9:49 pm

Locate this in tcbrowse.prg:

Code: Select all  Expand view
     else
        nLogicPos := (::cAlias)->(RecNo())
      endif
    endif

    if cRDDName == "ADSDBFCDX"


and replace it with this other:

Code: Select all  Expand view
     else
        nLogicPos := (::cAlias)->(OrdKeyNo())
      endif
    endif

    if cRDDName == "ADSDBFCDX"


Already fixed in FWH repository.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests