Table of Content
HAL Forum
procedure MatTypedRow (
void FieldName)
Description:
Defines what Record array field will be used to determine the Window matrix line type (eg. prepayments row on Invoices, etc). Used inside WindowBegin/EndWindow block.
Parameters:
FieldName Record field name that will be used for determining which kind of visual presentation to use when showing the matrix rows. Must be a numeric value.
event DefineWindows
begin
  Real i,h,h1,h2,h3,h4,h5,v,vm,l,vs,f,t,v2,v3,hm;

  SetLangMode(LangEnglish,"ENG",0);

  WindowBegin("Sub-ledger Control Accounts",SLAccTClass,CGHbl,HBlRecType);
  SetBlid(SLAccBlock);
  SetWRect(64,80,450,298);
  Sizeable(-1,-1,-1,0);
  h1 = 50; h2 = 120;
  MatrixBegin(4,v=27,-21,-20,SLAccRowType,99);
  MatTypedRow(stp);
  MatCol(v=0,24,"Cd",0,stp,false,0);
  MatCol(v,h1,"Account",0,AccNumber,false,AccSClass);
  MatText(v,h2,"",false);
  MatCol(v=SLAR,24,"Cd",0,stp,false,0);
  MatCol(v,h1,"Account",0,AccNumber,false,AccSClass);
  MatText(v,h2,"Debtors",false);
  MatCol(v=SLAP,24,"Cd",0,stp,false,0);
  MatCol(v,h1,"Account",0,AccNumber,false,AccSClass);
  MatText(v,h2,"Creditors",false);
  EndMatrix;
  EndWindow;

  return;
end;
Related topics:
««