Hello,
I am unable to align right the footer in DCBROWSECOL.
The footer has the correct color (green)
I must be missing something..
Please advise,
Regards,
Jack Duijf
LOCAL aFootPres := {}
Aadd(aFootPres,{XBP_PP_ALIGNMENT ,XBPALIGN_RIGHT})
Aadd(aFootPres,{XBP_PP_BGCLR ,GRA_CLR_GREEN})
DCBROWSECOL ELEMENT JP_DEBET HEADER "Debet" PARENT oBrowse WIDTH 8 FOOTER {||TransForm(oTotaal:Debet ,"99,999,999.99")} FOOTPRES aFootPres
Align right footer in DCBROWSECOL
Align right footer in DCBROWSECOL
Regards,
Jack Duijf
Jack Duijf
Re: Align right footer in DCBROWSECOL
Hi Jack
Use the pres parameter XBP_PP_COL_FA_ALIGNMENT instead for the footer area alignment...jdsoft wrote:Hello,
I am unable to align right the footer in DCBROWSECOL.
The footer has the correct color (green)
I must be missing something..
Please advise,
Regards,
Jack Duijf
LOCAL aFootPres := {}
Aadd(aFootPres,{XBP_PP_ALIGNMENT ,XBPALIGN_RIGHT})
Aadd(aFootPres,{XBP_PP_BGCLR ,GRA_CLR_GREEN})
DCBROWSECOL ELEMENT JP_DEBET HEADER "Debet" PARENT oBrowse WIDTH 8 FOOTER {||TransForm(oTotaal:Debet ,"99,999,999.99")} FOOTPRES aFootPres
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com
Real Business Applications Ltd
http://www.rbauk.com
Re: Align right footer in DCBROWSECOL
Hello,
Unfortunaly XBP_PP_COL_FA_ALIGNMENT does not work.
After analyzing the objects in the debugger, i found that xbpCellGroup is responsible for the allignment.
As per Xbase++ docs:
XBP_PP_CGRP_CELLALIGNMENT Alignment of a cell within frame
As result,
Aadd(aFootPres,{XBP_PP_CGRP_CELLALIGNMENT ,XBPALIGN_RIGHT})
DCBROWSECOL ELEMENT JP_DEBET HEADER "Debet" PARENT oBrowse WIDTH 8 FOOTER {||TransForm(oTotaal:Debet ,"99,999,999.99")} FOOTPRES aFootPres
Does align the footer to the right.
Regards,
Jack Duijf
Unfortunaly XBP_PP_COL_FA_ALIGNMENT does not work.
After analyzing the objects in the debugger, i found that xbpCellGroup is responsible for the allignment.
As per Xbase++ docs:
XBP_PP_CGRP_CELLALIGNMENT Alignment of a cell within frame
As result,
Aadd(aFootPres,{XBP_PP_CGRP_CELLALIGNMENT ,XBPALIGN_RIGHT})
DCBROWSECOL ELEMENT JP_DEBET HEADER "Debet" PARENT oBrowse WIDTH 8 FOOTER {||TransForm(oTotaal:Debet ,"99,999,999.99")} FOOTPRES aFootPres
Does align the footer to the right.
Regards,
Jack Duijf
Regards,
Jack Duijf
Jack Duijf