# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,100,73)
  Text = ("Make executable")
  Icon = Picture["icon:/small/exec"]
  Persistent = True
  Arrangement = Arrange.Vertical
  Spacing = True
  Margin = True
  { tabExec TabPanel
    MoveScaled(4,2,92,63)
    Expand = True
    Arrangement = Arrange.Fill
    Count = 2
    Index = 0
    Text = ("Location")
    { fchExec FileChooser
      MoveScaled(4,1,76,49)
      Border = False
      Margin = True
    }
    Index = 1
    Text = ("Options")
    { VBox1 VBox
      MoveScaled(1,1,89,56)
      Margin = True
      { chkIncVersion CheckBox
        MoveScaled(1,1,43,4)
        AutoResize = True
        Text = ("Increment version")
      }
      { panVersion HBox
        MoveScaled(1,5,82,4)
        Visible = False
        Spacing = True
        { chkSetVersion CheckBox
          MoveScaled(0,0,19,4)
          AutoResize = True
          Text = ("Set version to")
        }
        { txtMajor SpinBox grpVersion
          Name = "txtMajor"
          MoveScaled(25,0,9,4)
          Enabled = False
          MaxValue = 9999
        }
        { txtMinor SpinBox grpVersion
          Name = "txtMinor"
          MoveScaled(35,0,9,4)
          Enabled = False
          MaxValue = 9999
        }
        { txtRelease SpinBox grpVersion
          Name = "txtRelease"
          MoveScaled(45,0,12,4)
          Enabled = False
          MaxValue = 999999
        }
        { btnUndoVersion Button
          MoveScaled(58,0,4,4)
          Enabled = False
          Picture = Picture["icon:/small/undo"]
        }
      }
      { chkDebug CheckBox
        MoveScaled(1,9,55,4)
        Text = ("Keep debugging information in executable")
      }
      { chkCompress CheckBox
        MoveScaled(1,13,39,4)
        Text = ("Compress files in executable")
      }
      { chkShortcut CheckBox
        MoveScaled(1,17,34,4)
        Text = ("Create a shortcut on the desktop")
      }
      { chkNoTest CheckBox
        MoveScaled(1,21,34,4)
        Text = ("Exclude test modules")
      }
      { Panel1 Panel
        MoveScaled(20,28,7,1)
      }
      { Panel2 VBox
        MoveScaled(1,30,86,26)
        Expand = True
        Spacing = True
        { Label1 Label
          MoveScaled(0,0,30,3)
          Font = Font["Bold"]
          AutoResize = True
          Text = ("Run this shell command after")
        }
        { txtCommand TextBox
          MoveScaled(0,4,24,4)
        }
        { TextLabel1 TextLabel
          MoveScaled(2,9,83,16)
          Background = Color.TooltipBackground
          Foreground = Color.TooltipForeground
          Padding = 8
          AutoResize = True
          Border = Border.Plain
          Text = ("The following patterns will be substituted in the command&nbsp;:<br>\n&bull;&nbsp;<b><tt>$(FILE)</tt></b> will be replaced by the executable path.<br>\n&bull;&nbsp;<b><tt>$(DIR)</tt></b> by the project directory.<br>\n&bull;&nbsp;<b><tt>$(NAME)</tt></b> by the project name.<br>\n&bull;&nbsp;<b><tt>$(TITLE)</tt></b> by the project title.<br>\n&bull;&nbsp;<b><tt>$(VERSION)</tt></b> by the project version.<br>\n<br>\n<i>Note&nbsp;: all substitutions will be quoted.</i>")
        }
      }
    }
    Index = 0
  }
  { HBox3 HBox
    MoveScaled(6,68,79,4)
    Spacing = True
    { Spring1 Spring
      MoveScaled(7,2,9,1)
    }
    { btnOK Button
      MoveScaled(40,0,16,4)
      Text = ("OK")
      Default = True
    }
    { btnCancel Button
      MoveScaled(59,0,16,4)
      Text = ("Cancel")
      Cancel = True
    }
  }
}
