# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,164,17)
  Visible = False
  Icon = Picture["icon:/small/find"]
  Persistent = True
  Arrangement = Arrange.Vertical
  { panFrame Panel
    MoveScaled(0,0,163,14)
    Background = Color.ButtonBackground
    Expand = True
    Arrangement = Arrange.Horizontal
    Border = Border.Styled
    { panSearch VBox
      MoveScaled(0,0,155,13)
      Expand = True
      Spacing = True
      Margin = True
      { panConfig ToolBar
        MoveScaled(1,1,143,3)
        Key = "search"
        ReadOnly = True
        { panText HBox
          MoveScaled(2,0,40,3)
          Spacing = True
          { cmbSearch ComboBox
            MoveScaled(0,0,20,3)
            ToolTip = ("Hit CTRL+F again to change the search location.")
            Expand = True
            Placeholder = ("Search") & "..."
          }
          { cmbReplace ComboBox
            MoveScaled(21,0,17,3)
            Expand = True
            Placeholder = ("Replace") & "..."
          }
        }
        { btnNext ToolButton
          MoveScaled(46,0,3,3)
          ToolTip = ("Find next")
          Action = "find-next"
          Picture = Picture["icon:/small/down"]
        }
        { btnPrevious ToolButton
          MoveScaled(49,0,3,3)
          ToolTip = ("Find previous")
          Action = "find-previous"
          Picture = Picture["icon:/small/up"]
        }
        { btnBrowse ToolButton
          MoveScaled(52,0,11,3)
          ToolTip = ("Browse project")
          Action = "find-browse"
          AutoResize = True
          Text = ("Browse")
          Picture = Picture["icon:/small/find"]
        }
        { btnReplace ToolButton
          MoveScaled(65,0,11,3)
          Action = "find-replace"
          AutoResize = True
          Text = ("Replace")
          Picture = Picture["icon:/small/replace"]
        }
        { btnReplaceAll ToolButton
          MoveScaled(76,0,14,3)
          Action = "find-replace-all"
          AutoResize = True
          Text = ("Replace all")
          Picture = Picture["icon:/small/wizard"]
        }
        { btnReload ToolButton
          MoveScaled(92,0,14,3)
          Visible = False
          AutoResize = True
          Text = ("Reload files") & "..."
          Picture = Picture["icon:/small/undo"]
        }
      }
      { panOptions ToolBar
        MoveScaled(1,5,153,3)
        Key = "search-options"
        ReadOnly = True
        { Panel1 HBox
          MoveScaled(0,0,24,3)
          AutoResize = True
          Spacing = True
          { Label5 Label
            MoveScaled(0,0,3,3)
            AutoResize = True
            Text = ("In")
          }
          { cmbSearchIn ComboBox
            MoveScaled(3,0,20,3)
            ToolTip = ("Hit CTRL+F again to change the search location.")
            AutoResize = True
            ReadOnly = True
            List = [("Current function"), ("Current file"), ("Source files"), ("Data files"), ("All files")]
          }
        }
        { Panel2 Panel
          MoveScaled(25,0,1,3)
        }
        { chkCaseSensitive CheckBox
          MoveScaled(30,0,17,3)
          AutoResize = True
          Text = ("Case sensitive")
        }
        { chkWordsOnly CheckBox
          MoveScaled(48,0,14,3)
          AutoResize = True
          Text = ("Words only")
        }
        { chkRegularExpression CheckBox
          MoveScaled(63,0,20,3)
          AutoResize = True
          Text = ("Regular expression")
        }
        { chkReplaceCaptureGroups CheckBox
          MoveScaled(84,0,23,3)
          Enabled = False
          AutoResize = True
          Text = ("Replace capture groups")
        }
        { chkIgnoreStrings CheckBox
          MoveScaled(109,0,16,3)
          Visible = False
          AutoResize = True
          Text = ("Ignore strings")
        }
        { chkIgnoreComments CheckBox
          MoveScaled(126,0,19,3)
          Visible = False
          AutoResize = True
          Text = ("Ignore comments")
        }
      }
      { panCaller HBox
        MoveScaled(1,9,69,3)
        { PictureBox1 PictureBox
          MoveScaled(1,0,5,3)
          Visible = False
          Picture = Picture.Load("img/128/caller.png")
          Mode = PictureBox.Contain
        }
        { Panel8 Panel
          MoveScaled(7,0,1,3)
        }
        { txtCaller TextLabel
          MoveScaled(14,0,32,3)
          Expand = True
          Alignment = Align.Normal
        }
      }
    }
    { Panel3 Panel
      MoveScaled(158,0,2,13)
    }
    { btnClose ToolButton
      MoveScaled(158,1,3,3)
      Ignore = True
      Action = "find-close"
      Picture = Picture["icon:/medium/close"]
    }
  }
  { Panel9 Panel
    MoveScaled(60,15,4,1)
  }
}

# Gambas Action File 3.0

{ Actions
  { Action find-browse
    Text = "Browse"
    Picture = "icon:/small/find"
  }
  { Action find-close
    Text = ""
    Picture = "icon:/medium/close"
  }
  { Action find-next
    Text = "Find next"
    Picture = "icon:/small/down"
  }
  { Action find-previous
    Text = "Find previous"
    Picture = "icon:/small/up"
  }
  { Action find-replace
    Text = "Replace"
    Picture = "icon:/small/replace"
  }
  { Action find-replace-all
    Text = "Replace all"
    Picture = "icon:/small/wizard"
  }
}

{ Toolbars
  { Toolbar search
    Text = ""
    List = "find-next,find-previous,find-browse,find-replace,find-replace-all"
    Default = "$panText,find-next,find-previous,find-browse,find-replace,find-replace-all"
  }
  { Toolbar search-options
    Text = ""
    List = ""
    Default = "$Panel1,-,$chkCaseSensitive,$chkWordsOnly,$chkRegularExpression,$chkReplaceCaptureGroups"
  }
}
