isPrinterForm

isPrinterForm(): Boolean;

The isPrinterForm method of the Form class returns whether the form was declared as a printer form on the New Form dialog in the Jade Painter; that is, the Printer option button was selected in the Form Style group box.

This method then allows the setDefaultPainterControlProperties method re‑implementation to set properties only on a printer-style form, for example.

The following is an example of the isPrinterForm method.

setDefaultPainterControlProperties();
begin
    if self.form.isPrinterForm() then
        self.fontName := "Arial";
    endif;
end;

2018.0.02 (Service Pack 1) and higher