# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,127,79)
  Text = ("Menu editor")
  Icon = Picture["icon:/small/menu"]
  Persistent = True
  Arrangement = Arrange.Vertical
  Spacing = True
  Margin = True
  { tlbMenu ToolBar
    MoveScaled(2,2,123,4)
    Key = "menu"
    ReadOnly = True
    Border = True
    Separator = True
    { btnInsert ToolButton
      MoveScaled(0,0,9,4)
      ToolTip = ("Insert menu")
      Action = ".insert"
      AutoResize = True
      Text = Shortcut(("Insert"), "I")
      Picture = Picture["icon:/small/add"]
    }
    { btnInsertSeparator ToolButton
      MoveScaled(10,0,16,4)
      ToolTip = ("Insert separator")
      Action = ".insert-separator"
      AutoResize = True
      Text = Shortcut(("Insert separator"), "s")
      Picture = Picture["img/16/separator.png"]
    }
    { btnInsertBefore ToolButton
      MoveScaled(27,0,14,4)
      ToolTip = ("Insert menu before")
      Action = ".insert-before"
      AutoResize = True
      Text = ("Insert before")
      Picture = Picture["icon:/small/top"]
    }
    { btnDelete ToolButton
      MoveScaled(41,0,10,4)
      ToolTip = ("Delete menu")
      Action = ".delete"
      AutoResize = True
      Text = Shortcut(("Delete"), "D")
      Picture = Picture["icon:/small/remove"]
    }
    { Separator1 Separator
      MoveScaled(59,0,1,4)
    }
    { btnRight ToolButton
      MoveScaled(60,0,4,4)
      ToolTip = ("Indent")
      Action = ".indent-right"
      Picture = Picture["icon:/small/indent"]
    }
    { btnLeft ToolButton
      MoveScaled(64,0,4,4)
      ToolTip = ("Unindent")
      Action = ".indent-left"
      Picture = Picture["icon:/small/unindent"]
    }
    { btnUp ToolButton
      MoveScaled(68,0,4,4)
      ToolTip = ("Move up")
      Action = ".move-up"
      Picture = Picture["icon:/small/up"]
    }
    { btnDown ToolButton
      MoveScaled(72,0,4,4)
      ToolTip = ("Move down")
      Action = ".move-down"
      Picture = Picture["icon:/small/down"]
    }
    { Separator2 Separator
      MoveScaled(76,0,1,4)
    }
    { btnCut ToolButton
      MoveScaled(77,0,4,4)
      ToolTip = ("Cut")
      Action = ".cut"
      Picture = Picture["icon:/small/cut"]
    }
    { btnCopy ToolButton
      MoveScaled(81,0,4,4)
      ToolTip = ("Copy")
      Action = ".copy"
      Picture = Picture["icon:/small/copy"]
    }
    { btnPaste ToolButton
      MoveScaled(85,0,4,4)
      ToolTip = ("Paste")
      Action = ".paste"
      Picture = Picture["icon:/small/paste"]
    }
    { btnPasteBefore ToolButton
      MoveScaled(89,0,15,4)
      ToolTip = ("Paste before")
      Action = ".paste-before"
      AutoResize = True
      Text = ("Paste before")
      Picture = Picture["icon:/small/paste"]
    }
    { txtSearch ButtonBox
      MoveScaled(107,0,15,4)
      Expand = True
      Action = ".search"
      Picture = Picture["icon:/small/find"]
    }
  }
  { Panel1 HBox
    MoveScaled(2,7,123,63)
    Expand = True
    Spacing = True
    { gvwMenu GridView
      MoveScaled(0,0,33,39)
      Background = Color.TextBackground
      Expand = True
      Mode = Select.Multiple
      Grid = False
      Padding = 0
    }
    { VBox3 Panel
      MoveScaled(41,1,63,61)
      Arrangement = Arrange.Vertical
      Spacing = True
      Margin = True
      Border = Border.Styled
      { lblCreate Label
        MoveScaled(3,2,37,4)
        Font = Font["Italic"]
        AutoResize = True
        Alignment = Align.TopNormal
        Text = ("Click on Insert to add a new menu.")
      }
      { panMenu HPanel
        MoveScaled(1,1,59,55)
        Expand = True
        Spacing = True
        { Label1 Label
          MoveScaled(0,0,13,4)
          #Translate = False
          Text = "Name"
        }
        { txtName TextBox
          MoveScaled(13,0,35,4)
          Expand = True
        }
        { Label6 Label
          MoveScaled(0,4,13,4)
          #Translate = False
          Text = "Group"
        }
        { cmbGroup ComboBox
          MoveScaled(13,4,35,4)
          Expand = True
        }
        { Label2 Label
          MoveScaled(0,8,13,4)
          #Translate = False
          Text = "Caption"
        }
        { txtCaption ButtonBox
          MoveScaled(13,8,35,4)
          Expand = True
          Button = False
          ClearButton = True
        }
        { Label8 Label
          MoveScaled(0,12,13,4)
          #Translate = False
          Text = "Action"
        }
        { txtAction ButtonBox
          MoveScaled(13,12,35,4)
          Expand = True
          Button = False
          ClearButton = True
        }
        { Label7 Label
          MoveScaled(0,16,13,4)
          #Translate = False
          Text = "Tag"
        }
        { txtTag ButtonBox
          MoveScaled(13,16,35,4)
          Expand = True
          Button = False
          ClearButton = True
        }
        { Label3 Label
          MoveScaled(0,21,13,4)
          #Translate = False
          Text = "Shortcut"
        }
        { dwgShortcut DrawingArea
          MoveScaled(13,21,45,4)
          Expand = True
          Arrangement = Arrange.Horizontal
          Margin = True
          Padding = 2
          { chkCtrl ToggleButton
            MoveScaled(0,0,8,4)
            #Translate = False
            Font = Font["-2"]
            Text = "CTRL"
            Border = False
          }
          { chkShift ToggleButton
            MoveScaled(8,0,8,4)
            #Translate = False
            Font = Font["-2"]
            Text = "SHIFT"
            Border = False
          }
          { chkAlt ToggleButton
            MoveScaled(17,0,8,4)
            #Translate = False
            Font = Font["-2"]
            Text = "ALT"
            Border = False
          }
          { cmbShortcut ComboBox
            MoveScaled(26,0,12,4)
            Background = Color.TextBackground
            Expand = True
            Border = False
            ReadOnly = True
          }
          { btnShortcut Button
            MoveScaled(39,0,4,4)
            Picture = Picture["icon:/small/clear"]
            Border = False
          }
        }
        { lblPicture Label
          MoveScaled(0,26,13,4)
          #Translate = False
          Text = "Picture"
        }
        { txtPicture ButtonBox
          MoveScaled(14,26,37,4)
          Expand = True
          Picture = Picture["icon:/small/open"]
          ReadOnly = True
          ClearButton = True
        }
        { Label4 Label
          MoveScaled(0,31,13,4)
          #Translate = False
          Text = "Visible"
        }
        { chkVisible CheckBox
          MoveScaled(14,31,4,4)
          #Translate = False
          Expand = True
        }
        { Label9 Label
          MoveScaled(0,35,13,4)
          #Translate = False
          Text = "Enabled"
        }
        { chkEnabled CheckBox
          MoveScaled(14,35,4,4)
          #Translate = False
          Expand = True
        }
        { Label10 Label
          MoveScaled(0,39,13,4)
          #Translate = False
          Text = "Toggle"
        }
        { chkToggle CheckBox
          MoveScaled(14,39,4,4)
          #Translate = False
          Tag = "Toggle"
          Expand = True
        }
        { Label13 Label
          MoveScaled(0,43,13,4)
          #Translate = False
          Text = "Radio"
        }
        { chkRadio CheckBox
          MoveScaled(14,43,4,4)
          #Translate = False
          Tag = "Radio"
          Expand = True
        }
        { Label11 Label
          MoveScaled(0,47,13,4)
          #Translate = False
          Text = "Checked"
        }
        { chkChecked CheckBox
          MoveScaled(14,47,4,4)
          #Translate = False
          Tag = "Checked"
          Expand = True
        }
        { Label12 Label
          MoveScaled(0,51,13,4)
          #Translate = False
          Text = "Translate"
        }
        { chkTranslate CheckBox
          MoveScaled(14,51,4,4)
          #Translate = False
          Expand = True
        }
      }
      { panMessage Panel
        MoveScaled(3,56,32,4)
        Visible = False
        Background = Color.TooltipBackground
        Arrangement = Arrange.Horizontal
        Spacing = True
        Border = Border.Plain
        { PictureBox1 PictureBox
          MoveScaled(0,0,4,4)
          Picture = Picture.Load("icon:/small/warning")
          Alignment = Align.Center
        }
        { lblMessage Label
          MoveScaled(6,0,18,4)
          Expand = True
        }
      }
    }
  }
  { HBox2 HBox
    MoveScaled(3,72,114,4)
    Spacing = True
    { panEvent Panel
      MoveScaled(4,0,37,4)
      Expand = True
      Arrangement = Arrange.Horizontal
      Spacing = True
    }
    { btnOK Button
      MoveScaled(55,0,16,4)
      Text = ("OK")
      Cancel = True
    }
    { btnCancel Button
      MoveScaled(72,0,16,4)
      Text = ("Cancel")
    }
  }
}

# Gambas Action File 3.0

{ Actions
  { Action copy
    Text = "Copy"
    Picture = "icon:/small/copy"
  }
  { Action cut
    Text = "Cut"
    Picture = "icon:/small/cut"
  }
  { Action delete
    Text = "Delete"
    Picture = "icon:/small/remove"
  }
  { Action indent-left
    Text = "Unindent"
    Picture = "icon:/small/unindent"
  }
  { Action indent-right
    Text = "Indent"
    Picture = "icon:/small/indent"
  }
  { Action insert
    Text = "Insert"
    Picture = "icon:/small/add"
  }
  { Action insert-before
    Text = "Insert before"
    Picture = "icon:/small/top"
  }
  { Action insert-separator
    Text = "Insert separator"
    Picture = "img/16/separator.png"
  }
  { Action move-down
    Text = "Move down"
    Picture = "icon:/small/down"
  }
  { Action move-up
    Text = "Move up"
    Picture = "icon:/small/up"
  }
  { Action paste
    Text = "Paste"
    Picture = "icon:/small/paste"
  }
  { Action paste-before
    Text = "Paste before"
    Picture = "icon:/small/paste"
  }
  { Action search
    Text = ""
    Picture = "icon:/small/find"
  }
}

{ Toolbars
  { Toolbar menu
    Text = ""
    List = "insert,insert-separator,insert-before,delete,indent-right,indent-left,move-up,move-down,cut,copy,paste,paste-before,search"
    Default = "insert,insert-separator,insert-before,delete,|,indent-right,indent-left,move-up,move-down,|,cut,copy,paste,paste-before,search"
  }
}
