DCBROWSE with HEADLINES 2 plus DCBROWSECOL with SORT issue
Posted: Tue May 07, 2019 7:42 am
We have a few browses in our system where we have set the header to have 2 lines and also use a SORT codeblock on the column.
The DCBROWSE is as follows:
@ nRow,0 DCBROWSE oBrowse ;
DATA aDELIV ;
SIZE nBrowWid,nBrowLines ;
POINTER nPOINTER ;
FONT RBA_SayFont_Bold() ;
PRESENTATION BROW_PRES_NORMAL() ;
CURSORMODE XBPBRW_CURSOR_ROW ;
ITEMSELECTED {|| ... } ;
ITEMMARKED {|| ... };
SORTSCOLOR SortColour()[1] , SortColour()[2] ;
SORTUCOLOR SortColour()[3] , SortColour()[4] ;
HEADLINES 2 ;
RBSELECT ;
RBDOWN BrowseMenuBlock(@oBrowse) ;
TABSTOP;
ID "DM_BROWSE"
and the DCBROWSECOL is:
DCBROWSECOL ;
PARENT oBrowse ;
DATA {|nDelNmbr| ... } ;
HEADER "Deliv.;No";
FONT RBA_SayFont() ;
COLOR {|| ... } ;
WIDTH rba_col(nDEL_PICTURE+1) ;
ALIGN XBPALIGN_RIGHT ;
SORT {|| sort_col_del(aDELIV,D_ORDNMBR) } DEFAULT ;
ID "ORDNMBR"
The above column header is the correct height but only contains the word 'Deliv.'; the word 'No' is completely missing.
This is the same in all columns but only if there is a SORT clause.
I am using eXpress++ 2.00 build 266.
Anyone else have this issue? Or has it already been mentioned somewhere (I did look first, honest) and I missed it.
The DCBROWSE is as follows:
@ nRow,0 DCBROWSE oBrowse ;
DATA aDELIV ;
SIZE nBrowWid,nBrowLines ;
POINTER nPOINTER ;
FONT RBA_SayFont_Bold() ;
PRESENTATION BROW_PRES_NORMAL() ;
CURSORMODE XBPBRW_CURSOR_ROW ;
ITEMSELECTED {|| ... } ;
ITEMMARKED {|| ... };
SORTSCOLOR SortColour()[1] , SortColour()[2] ;
SORTUCOLOR SortColour()[3] , SortColour()[4] ;
HEADLINES 2 ;
RBSELECT ;
RBDOWN BrowseMenuBlock(@oBrowse) ;
TABSTOP;
ID "DM_BROWSE"
and the DCBROWSECOL is:
DCBROWSECOL ;
PARENT oBrowse ;
DATA {|nDelNmbr| ... } ;
HEADER "Deliv.;No";
FONT RBA_SayFont() ;
COLOR {|| ... } ;
WIDTH rba_col(nDEL_PICTURE+1) ;
ALIGN XBPALIGN_RIGHT ;
SORT {|| sort_col_del(aDELIV,D_ORDNMBR) } DEFAULT ;
ID "ORDNMBR"
The above column header is the correct height but only contains the word 'Deliv.'; the word 'No' is completely missing.
This is the same in all columns but only if there is a SORT clause.
I am using eXpress++ 2.00 build 266.
Anyone else have this issue? Or has it already been mentioned somewhere (I did look first, honest) and I missed it.