|
define a column inside a matrix frame window |
|
1 |
Type of column |
70 |
width |
Account |
Label name |
0 |
- |
AccNumber |
Field name |
false |
alignment (false=left) |
AccSClass |
SClass window to paste onto the window (0=none) |
|
WindowBegin("Withholding Taxes",WHTaxTClass,CGHbl,HBlRecType);
SetBlid(WHTaxBlock);
SetWRect(20,80,600,295);
h = 20; v = 27;
MatrixBegin(h,v,-50,-10,-,40);
Flip(0);
MatCol(1,25,"Code",0,Code,false,0);
MatCol(1,70,"Account",0,AccNumber,false,AccSClass);
Flip(1);
MatCol(1,150,"Formulae",0,WHCalcForm,false,WHCalcFormSClass);
MatCol(1,-280,"Document",0,DocName,false,DocSClass);
MatCol(1,-180,"Certificate No.",0,CertificateNr,false,0);
MatCol(1,-80,"Share Nos",0,WHTax,false,WHTaxSClass);
Flip(2);
MatCol(1,150,"Comment",0,Comment,false,0);
MatCol(1,350,"Tax Code",0,TaxCode,false,0);
MatCol(1,410,"Apply",0,AccNumbers,false,AccSClass);
EndMatrix;
vs=20;
v=28; VTab(-35,v,-16,v+vs,ToolFlip,1,"A");
v=v+vs; VTab(-35,v,-16,v+vs,ToolFlip,2,"B");
EndWindow;
««