uses
System,
Classes,
SysUtils,
Forms,
Controls,
Graphics,
Dialogs,
ButtonPanel,
StdCtrls,
ComCtrls,
ExtCtrls,
Spin,
GridPrn;