# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,107,78)
  Text = ("Report preview")
  Arrangement = Arrange.Horizontal
  { mnuPrint Menu
    Visible = False
    { mnuPrintPDF Menu
      Text = ("Print to file") & "..."
    }
    { Menu1 Menu
    }
  }
  { Panel1 VBox
    MoveScaled(1,1,63,72)
    Expand = True
    Invert = True
    { View ReportView
      MoveScaled(1,1,50,48)
      Background = Color.LightForeground
      Tag = "3"
      Mouse = Mouse.SizeAll
      Expand = True
    }
    { hbPrinting HBox
      MoveScaled(1,57,55,4)
      Visible = False
      Spacing = True
      Indent = True
      { lblPrint Label
        MoveScaled(11,0,14,4)
        AutoResize = True
        Text = ("Printing") & "..."
      }
      { Panel11 Panel
        MoveScaled(26,0,25,4)
        Expand = True
        Arrangement = Arrange.Fill
        Margin = True
        Padding = 4
        { ProgressBar1 ProgressBar
          MoveScaled(0,0,37,3)
          Expand = True
          Border = False
        }
      }
    }
    { hbZoom HBox
      MoveScaled(1,62,62,4)
      { Panel2 Panel
        MoveScaled(0,0,17,4)
        Expand = True
        Arrangement = Arrange.Horizontal
        { btnOnePage ToolButton Mode
          Name = "btnOnePage"
          MoveScaled(0,0,4,4)
          Tag = "1"
          ToolTip = ("One page")
          Picture = Picture["icon:/small/page"]
          Toggle = True
        }
        { btnTwoPages ToolButton Mode
          Name = "btnTwoPages"
          MoveScaled(4,0,4,4)
          Tag = "2"
          ToolTip = ("Two pages")
          Picture = Picture["icon:/small/page-two"]
          Toggle = True
        }
        { btnFullWidth ToolButton Mode
          Name = "btnFullWidth"
          MoveScaled(8,0,4,4)
          Tag = "3"
          ToolTip = ("Full width")
          Picture = Picture["icon:/small/zoom-width"]
          Toggle = True
        }
        { btnRealSize ToolButton Mode
          Name = "btnRealSize"
          MoveScaled(12,0,4,4)
          Tag = "4"
          ToolTip = ("Real size")
          Picture = Picture["icon:/small/zoom-normal"]
          Toggle = True
        }
      }
      { btnZoomOut ToolButton
        MoveScaled(18,0,4,4)
        ToolTip = ("Zoom out")
        Picture = Picture["icon:/small/zoom-out"]
      }
      { sldZoom Slider
        MoveScaled(22,0,19,4)
        MinValue = 13
        MaxValue = 400
        Value = 100
      }
      { lblZoom Label
        MoveScaled(41,0,8,4)
        Alignment = Align.Center
        Text = ("100 %")
      }
      { btnZoomIn ToolButton
        MoveScaled(48,0,4,4)
        ToolTip = ("Zoom in")
        Picture = Picture["icon:/small/zoom-in"]
      }
      { btnPrint2 MenuButton btnPrint
        Name = "btnPrint2"
        MoveScaled(51,0,8,4)
        Visible = False
        AutoResize = True
        Text = ("Print")
        Border = False
        Menu = "mnuPrint"
      }
      { btnShowSide ToolButton
        MoveScaled(58,0,4,4)
        Visible = False
        ToolTip = ("Show options")
        Picture = Picture["icon:/small/view-split-h"]
      }
    }
  }
  { panSide Panel
    MoveScaled(65,1,41,76)
    Arrangement = Arrange.Horizontal
    Border = Border.Plain
    { Panel4 VBox
      MoveScaled(1,1,39,73)
      Expand = True
      { tabPrint TabPanel
        MoveScaled(0,0,37,15)
        Arrangement = Arrange.Vertical
        Spacing = True
        Margin = True
        Border = False
        Count = 2
        Index = 0
        Text = ("Printer")
        { pnlResolution HBox
          MoveScaled(1,1,37,4)
          Spacing = True
          { PictureBox1 PictureBox
            MoveScaled(0,0,4,4)
            Picture = Picture["icon:/32/printer"]
            Stretch = True
          }
          { cmbPrinter ComboBox
            MoveScaled(5,0,31,4)
            Expand = True
            ReadOnly = True
          }
        }
        { Panel7 HBox
          MoveScaled(1,6,35,4)
          Spacing = True
          { Label2 Label
            MoveScaled(0,0,12,4)
            Text = ("Two-sided")
          }
          { cmbDuplex ComboBox
            MoveScaled(15,0,21,4)
            Expand = True
            ReadOnly = True
            List = [("None"), ("Short side"), ("Long side")]
          }
        }
        Index = 1
        Text = ("File")
        { Panel12 HBox
          MoveScaled(1,1,35,4)
          Spacing = True
          { PictureBox2 PictureBox
            MoveScaled(0,0,4,4)
            Picture = Picture["icon:/48/pdf"]
            Stretch = True
          }
          { txtFile ButtonBox
            MoveScaled(5,0,29,4)
            Expand = True
            Picture = Picture["icon:/16/open"]
            ReadOnly = True
          }
        }
        { HBox3 HBox
          MoveScaled(1,6,35,4)
          Spacing = True
          { TextLabel1 TextLabel
            MoveScaled(1,1,12,3)
            Text = ("Resolution")
            Alignment = Align.Normal
          }
          { cmbResolution ComboBox
            MoveScaled(15,0,14,4)
            #Translate = False
            ReadOnly = True
            List = ["75", "150", "300", "600", "1200"]
          }
          { Label11 Label
            MoveScaled(30,0,4,4)
            Text = ("dpi")
          }
        }
        Index = 0
      }
      { Separator2 Separator
        MoveScaled(3,15,32,0)
        Visible = False
      }
      { VBox1 VBox
        MoveScaled(3,16,38,59)
        Expand = True
        Spacing = True
        Margin = True
        { Panel6 HBox
          MoveScaled(2,0,34,4)
          Spacing = True
          { Label1 Label
            MoveScaled(0,0,12,4)
            Text = ("Range")
          }
          { TextBox1 ButtonBox
            MoveScaled(15,0,18,4)
            Expand = True
            Picture = Picture["icon:/16/clear"]
          }
        }
        { HBox1 HBox
          MoveScaled(2,5,34,4)
          Spacing = True
          { Label4 Label
            MoveScaled(0,0,12,4)
            Text = ("Copies")
          }
          { TextBox2 SpinBox
            MoveScaled(15,0,12,4)
            Expand = True
            MinValue = 1
            Value = 1
          }
        }
        { Panel5 Panel
          MoveScaled(2,10,33,5)
        }
        { Panel14 HBox
          MoveScaled(1,17,36,4)
          Spacing = True
          { Label10 Label
            MoveScaled(0,0,12,4)
            Text = ("Orientation")
          }
          { cmbOrientation ComboBox
            MoveScaled(14,0,21,4)
            Expand = True
            ReadOnly = True
            List = [("Portrait"), ("Landscape")]
          }
        }
        { Panel8 HBox
          MoveScaled(1,21,36,4)
          Spacing = True
          { Label3 Label
            MoveScaled(0,0,12,4)
            Text = ("Paper")
          }
          { cmbPaper ComboBox
            MoveScaled(13,0,21,4)
            Expand = True
            ReadOnly = True
            List = [("Custom"), ("A3"), ("A4"), ("A5"), ("B5"), ("Letter"), ("Executive"), ("Legal")]
          }
        }
        { pnlCustom VBox
          MoveScaled(0,25,36,9)
          Visible = False
          Spacing = True
          { Panel3 HBox
            MoveScaled(1,0,32,4)
            Spacing = True
            { Label5 Label
              MoveScaled(0,0,12,4)
              Text = ("Width")
            }
            { spWidth SpinBox
              MoveScaled(14,0,6,4)
              Expand = True
              MaxValue = 1000
            }
            { Label7 Label
              MoveScaled(27,0,4,4)
              Text = ("mm")
            }
          }
          { Panel17 HBox
            MoveScaled(1,4.125,31,4)
            Spacing = True
            { Label6 Label
              MoveScaled(0,0,12,4)
              Text = ("Height")
            }
            { spHeight SpinBox
              MoveScaled(13,0,6,4)
              Expand = True
              MaxValue = 1000
            }
            { Label8 Label
              MoveScaled(26,0,4,4)
              Text = ("mm")
            }
          }
        }
        { Panel13 Panel
          MoveScaled(2,34,33,4)
          Expand = True
        }
        { tgbGrayScale CheckBox
          MoveScaled(1,36,34,4)
          Text = ("Grayscale")
        }
        { tgbFullPage CheckBox
          MoveScaled(1,40,24,4)
          Visible = False
          Text = ("Full page")
        }
        { tgbCollateCopies CheckBox
          MoveScaled(1,45,35,3)
          Text = ("Collate copies")
        }
        { tgbReverseCopies CheckBox
          MoveScaled(1,48,36,4)
          Text = ("Reverse order")
        }
        { Panel15 Panel
          MoveScaled(1,52,35,2)
        }
        { HBox2 HBox
          MoveScaled(2,55,33,4)
          { Panel10 Panel
            MoveScaled(2,1,10,3)
            Expand = True
          }
          { btnPrint Button
            MoveScaled(7,0,14,4)
            AutoResize = True
            Text = ("Print")
            Picture = Picture["icon:/small/print"]
          }
          { Panel9 Panel
            MoveScaled(21,1,10,3)
            Expand = True
          }
        }
      }
    }
    { btnCloseSide ToolButton
      MoveScaled(35,0,3,3)
      Ignore = True
      Picture = Picture["icon:/small/close"]
    }
  }
}
