# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,114,70)
  Text = ("Configure executable")
  Icon = Picture["icon:/small/exec"]
  Persistent = True
  Arrangement = Arrange.Vertical
  Spacing = True
  Margin = True
  { tabExec TabPanel
    MoveScaled(1,1,105,63)
    Expand = True
    Arrangement = Arrange.Fill
    Border = False
    Count = 2
    Separator = False
    Index = 0
    Text = ("Location")
    { fchExec FileChooser
      MoveScaled(2,4,76,49)
    }
    Index = 1
    Text = ("Options")
    { panOption VBox
      MoveScaled(0,0,97,58)
      { chkIncVersion CheckBox
        MoveScaled(1,0,43,4)
        AutoResize = True
        Text = ("Increment version")
      }
      { panVersion HBox
        MoveScaled(1,4,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(22,0,13,4)
          Enabled = False
          AutoResize = True
          MaxValue = 9999
        }
        { txtMinor SpinBox grpVersion
          Name = "txtMinor"
          MoveScaled(36,0,13,4)
          Enabled = False
          AutoResize = True
          MaxValue = 9999
        }
        { txtRelease SpinBox grpVersion
          Name = "txtRelease"
          MoveScaled(50,0,15,4)
          Enabled = False
          AutoResize = True
          MaxValue = 999999
        }
        { btnUndoVersion Button
          MoveScaled(66,0,4,4)
          Enabled = False
          Picture = Picture["icon:/small/undo"]
        }
      }
      { chkDebug CheckBox
        MoveScaled(1,8,55,4)
        Text = ("Keep debugging information in executable")
      }
      { chkCompress CheckBox
        MoveScaled(1,12,39,4)
        Text = ("Compress files in executable")
      }
      { chkShortcut CheckBox
        MoveScaled(1,16,45,4)
        Text = ("Create a shortcut on the desktop")
      }
      { chkNoTest CheckBox
        MoveScaled(1,20,34,4)
        Text = ("Exclude test modules")
      }
      { chkNoPublic CheckBox
        MoveScaled(1,24,34,4)
        Text = ("Exclude public directory")
      }
      { Panel1 Panel
        MoveScaled(1,28,4,1)
      }
      { Label3 Label
        MoveScaled(1,29,30,4)
        Font = Font["Bold"]
        AutoResize = True
        Text = ("Global options")
      }
      { chkCopyPath CheckBox
        MoveScaled(1,33,56,4)
        Text = ("Copy executable path into the clipboard")
      }
      { Panel4 Panel
        MoveScaled(6,37,4,1)
      }
      { Label1 Label
        MoveScaled(1,38,30,4)
        Font = Font["Bold"]
        AutoResize = True
        Text = ("Run this shell command after")
      }
      { txtCommand ButtonBox
        MoveScaled(1,42,66,4)
        Picture = Picture["icon:/medium/help"]
      }
      { panCommandHelp Panel
        MoveScaled(5,46,4,1)
        Visible = False
      }
      { lblCommandHelp TextLabel
        MoveScaled(1,47,83,2)
        Visible = False
        Font = Font["-1"]
        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>")
      }
      { Panel3 Panel
        MoveScaled(5,49,4,1)
      }
      { Label2 Label
        MoveScaled(1,50,30,4)
        Font = Font["Bold"]
        AutoResize = True
        Text = ("Compilation command")
      }
      { txtCompilerCommand ButtonBox
        MoveScaled(1,54,76,4)
        Picture = Picture["icon:/medium/copy"]
        ReadOnly = True
      }
    }
    Index = 0
  }
  { panDialog HBox
    MoveScaled(1,65,79,4)
    Spacing = True
    { Spring1 Spring
      MoveScaled(24,2,9,1)
    }
    { btnOK Button
      MoveScaled(36,0,20,4)
      AutoResize = True
      Text = ("Make executable")
      Picture = Picture["icon:/small/exec"]
      Default = True
    }
    { btnCancel Button
      MoveScaled(59,0,16,4)
      Text = ("Cancel")
      Cancel = True
    }
  }
}
