control exceeds size in run time RESOLVED
Posted: Mon Feb 15, 2021 12:49 am
Hi guys, I don't understand Why the control buttonbar appreciate more large than the normal?
imagenes online
Into the pelles you can notice that the control is smaller than the program in run time
source code
I hope you can help me, thanks
imagenes online
Into the pelles you can notice that the control is smaller than the program in run time
source code
Code: Select all
REDEFINE BUTTONBAR oBar ID 100 OF oFld:aDialogs[3] 2007 TRANSPARENT
DEFINE BUTTON OF oBar PROMPT "Add" FILE "c:\1712\fwh\bitmaps\32x32\new.bmp" ACTION ( IIF(cCodpag='02', AddRow(oBrwC), MsgAlert("Condicion de pago no es a Credito")), oBrwC:SetFocus() )
DEFINE BUTTON OF oBar PROMPT "Delete" FILE "c:\1712\fwh\bitmaps\delete.bmp" ACTION ( IIF(cCodpag='02', DeleteRow(oBrwC), MsgAlert("Condicion de pago no es a Credito")), oBrwC:SetFocus() )
REDEFINE XBROWSE oBrwC ;
COLUMNS 1, 2 ;
HEADERS "Fecha","Importe" ;
COLSIZES 70, 100 ;
ARRAY {} LINES FASTEDIT CELL FOOTERS ;
ID 4018 OF oFld:aDialogs[3] ;
UPDATE
oBrwC:aCols[ 1 ]:nEditType := EDIT_GET
WITH OBJECT oBrwC:aCols[ 2 ]
:nEditType := EDIT_GET
:nFooterType := AGGR_SUM
:nFootStrAlign := AL_RIGHT
END
oBrwC:MakeTotals()