FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse bug fwh 10.8
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
xbrowse bug fwh 10.8
Posted: Sat Sep 11, 2010 04:41 AM
Good morning

A new bug has been introduced in fwh 10.8 concerning columns header sortorder

this is the error.log

Error description: Error BASE/1004 Message not found: TXBROWSE:ALIAS
Args:

Stack Calls
===========
Called from: .\source\function\HARBOUR.PRG => _CLSSETERROR(166)
Called from: C:\CBATI32\xbrowse.prg => TXBROWSE:ALIAS(7350)
Called from: C:\CBATI32\xbrowse.prg => TXBRWCOLUMN:SETORDER(10782)
Called from: C:\CBATI32\xbrowse.prg => TXBRWCOLUMN:HEADERLBUTTONUP(9629)
Called from: C:\CBATI32\xbrowse.prg => TXBROWSE:LBUTTONUP(3209)

the code used

Code (fw): Select all Collapse
   REDEFINE XBROWSE oBrw ID 201 OF ODLG ;
      FIELDS ,PROD->PID,PROD->PRODUIT,PROD->LUNITE ,PROD->PUHT,PROD->FAMILLE,PROD->FOURNOM  ;
      HEADERS ,"Code" + CRLF + "Article","Désignation","Unité","Px Vente" + CRLF + "Unit.HT","Famille","Fournisseur" ;
      PICTURES nil,nil,nil,nil,"@Z 999 999 999.99",nil,nil ;
      COLORS {|| { CLR_BLUE, COULDLG("TD") } } ;
      FONT AFONT ;
      ALIAS "PROD" lines

      BMPADDCOL(oBrw:aCols[01])
      oBrw:aCols[01]:bBmpData   := { || PROTABLE() }

      oBrw:aCols[02]:cSortOrder := "PID"   // offending line
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse bug fwh 10.8
Posted: Sat Sep 11, 2010 05:59 AM
Regards



G. N. Rao.

Hyderabad, India
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: xbrowse bug fwh 10.8
Posted: Sat Sep 11, 2010 06:30 AM

Thank you MR Rao ,

I had not seen Otto's post

Regards

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013

Continue the discussion