API version 4

- ‐

RW

boolean

suppress

前の行と同じデータを印字するかどうかを指定します。

前の行と同じデータを印字するかどうかを指定します。このプロパティは印刷(printDocument出力)のみ有効です。

初期値はtrueです。

定数

説明

false

前の行と同じデータでもセル内容を表示します

true

前の行と同じデータの場合にセル内容を表示しません

関連項目

PrintForm.printDocument メソッド



使用例 CRSダウンロード

Form formHeaderField_suppress {
   x = 0; y = 0; width = 800; height = 600;
   PrintForm printform1 {
           x = 10; y = 72; width = 256; height = 362;
           TextField textfield1 {
                   x = 16; y = 8; width = 224; height = 16;
                   value="suppress = false";
           }
           PrintRegion printregion1 {
                   x = 24; y = 24; width = 216; height = 88;
                   PrintHeader printheader1 {
                           height = 16;
                           HeaderField header[3] { width = 70; suppress = false; }
                   }
                   PrintRecord rec[] {
                           height = 16;
                           TextField item[3];
                   }
                   rec << CSV(Item1,Item2,Item3) {
AAA,XXX,111
AAA,YYY,222
BBB,ZZZ,333
BBB,ZZZ,444
                   };
           }
           TextField textfield2 {
                   x = 16; y = 120; width = 224; height = 16;
                   value="suppress = true";
           }
           PrintRegion printregion2 {
                   x = 24; y = 136; width = 216; height = 88;
                   PrintHeader printheader1 {
                           height = 16;
                           HeaderField header[3] { width = 70; suppress = true; }
                   }
                   PrintRecord rec[] {
                           height = 16;
                           TextField item[3];
                   }
                   rec << CSV(Item1,Item2,Item3) {
AAA,XXX,111
AAA,YYY,222
BBB,ZZZ,333
BBB,ZZZ,444
                   };
           }
   }
   Button buttonPrint {
           x = 8; y = 8; width = 56; height = 24; title = "印刷";
           function onTouch(e) {
                   ^.printpreview1.clearPages();
                   ^.printpreview1.document = ^.printform1.printDocument();
           }
   }
   PrintPreview printpreview1 {
           x = 272; y = 8; width = 488; height = 472;
   }
}