Table of Content
HAL Forum
function boolean ValuePack (
integer vpack_nr)
Description:
Checks if specified value pack is enabled in System>>Settings>>Configuration
Parameters:
vpack_nr Number of value pack
  WindowBegin("Specify Periodic Supplier Statement",VePerRClass,CGRcW,RcType);
  SetWRect(64,80,509,298);
  EditFieldTL(h=120,v=10, 150,"Supplier",   M4UStr,Normal,30,f1,false,VESClass);
  EditFieldTL(h,v+=20, 80,"Category",   M4UStr,Normal,5,f2,false,VGSClass);
  PeriodField(h,v+=20,"Period");
  ButtonFrame(h,v+=41,123,2,"Function");
  RadioButton(h,v,0,0,"Overview",ArtMode);
  RadioButton(h,v+=16,1,0,"Detailed",ArtMode);
  CheckBox(20,v+=40,0,"Suppliers with Balance only",flags[1]);
  if (ValuePack(2) or ValuePack(6)) then begin
  CheckBox(20,v+=20,0,"Amounts in Currency",flags[2]);
  end;
  CheckBox(20,v+=20,0,"Include Ordered Payments",flags[3]);
  EndWindow;
Related topics:
««