tpPeg_GclFme.pas 832 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. unit tpPeg_GclFme;
  2. interface
  3. uses
  4. tpPeg_GclDm,
  5. Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  6. Dialogs, ExtCtrls, sdGridDBA, ZJGrid, dxBar;
  7. type
  8. TtpPeg_GclFrame = class(TFrame)
  9. zgGclBills: TZJGrid;
  10. saGclBills: TsdGridDBA;
  11. sprPeg_Gcl: TSplitter;
  12. zgPeg: TZJGrid;
  13. saPeg: TsdGridDBA;
  14. dxBarPopupMenu1: TdxBarPopupMenu;
  15. private
  16. FPeg_GclData: TtpPeg_GclData;
  17. procedure SetPeg_GclData(const Value: TtpPeg_GclData);
  18. public
  19. property Peg_GclData: TtpPeg_GclData read FPeg_GclData write SetPeg_GclData;
  20. end;
  21. implementation
  22. {$R *.dfm}
  23. { TtpPeg_GclFrame }
  24. procedure TtpPeg_GclFrame.SetPeg_GclData(const Value: TtpPeg_GclData);
  25. begin
  26. FPeg_GclData := Value;
  27. saPeg.DataView := FPeg_GclData.sdvPeg;
  28. saGclBills.DataView := FPeg_GclData.sdvGclBills;
  29. end;
  30. end.