会计凭证列表按审核、过账状态着色

修改目的

在会计凭证录入(ACTVoucherFrm)的主表列表中,根据凭证状态直观显示不同背景色:

修改文件

修改内容

  1. 类声明中新增 ViewMasterCustomDrawCell 事件处理过程。
  2. AfterCreate 中绑定主表 OnCustomDrawCell 事件:
   ViewMaster.OnCustomDrawCell := ViewMasterCustomDrawCell;
  1. FormClose 中释放绑定:
   ViewMaster.OnCustomDrawCell := nil;
  1. 新增 ViewMasterCustomDrawCell 实现:

备注