# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,127,81)
  Text = ("Menu editor")
  Icon = Picture["icon:/small/menu"]
  Persistent = True
  Arrangement = Arrange.Vertical
  { VBox2 Panel
    MoveScaled(1,1,125,69)
    Expand = True
    Arrangement = Arrange.Vertical
    { tlbMenu ToolBar
      MoveScaled(1,1,123,4)
      Key = "menu"
      { 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"]
      }
    }
    { Separator3 Separator
      MoveScaled(12,6,16,0)
    }
    { Panel1 HBox
      MoveScaled(1,7,123,61)
      Expand = True
      { gvwMenu GridView
        MoveScaled(0,0,33,39)
        Expand = True
        Border = False
        Mode = Select.Multiple
        Grid = False
        Padding = 0
      }
      { Separator5 Separator
        MoveScaled(34,11,0,21)
      }
      { VBox3 VBox
        MoveScaled(41,1,63,59)
        Spacing = True
        Margin = True
        { lblCreate Label
          MoveScaled(3,2,37,4)
          Font = Font["Italic"]
          AutoResize = True
          Text = ("Click on Insert to add a new menu.")
          Alignment = Align.TopNormal
        }
        { panMenu HPanel
          MoveScaled(2,1,59,56)
          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"
          }
          { txtGroup TextBox
            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 TextBox
            MoveScaled(13,12,35,4)
            Expand = True
          }
          { Label7 Label
            MoveScaled(0,16,13,4)
            #Translate = False
            Text = "Tag"
          }
          { txtTag TextBox
            MoveScaled(13,16,35,4)
            Expand = True
          }
          { Label3 Label
            MoveScaled(0,21,13,4)
            #Translate = False
            Text = "Shortcut"
          }
          { HBox3 HBox
            MoveScaled(14,21,44,4)
            Expand = True
            { chkCtrl CheckBox
              MoveScaled(0,0,10,4)
              #Translate = False
              AutoResize = True
              Text = "CTRL"
            }
            { chkShift CheckBox
              MoveScaled(10,0,11,4)
              #Translate = False
              AutoResize = True
              Text = "SHIFT"
            }
            { chkAlt CheckBox
              MoveScaled(21,0,9,4)
              #Translate = False
              AutoResize = True
              Text = "ALT"
            }
            { cmbShortcut ComboBox
              MoveScaled(30,0,8,4)
              Expand = True
              ReadOnly = True
            }
            { btnShortcut Button
              MoveScaled(38,0,4,4)
              Picture = Picture["icon:/small/clear"]
            }
          }
          { lblPicture Label
            MoveScaled(0,26,13,4)
            #Translate = False
            Text = "Picture"
          }
          { HBox4 HBox
            MoveScaled(14,26,37,4)
            Expand = True
            Spacing = True
            { txtPicture TextBox
              MoveScaled(0,0,27,4)
              Expand = True
              ReadOnly = True
            }
            { btnPicture Button
              MoveScaled(28,0,4,4)
              Picture = Picture["icon:/small/open"]
            }
            { btnKillPicture Button
              MoveScaled(33,0,4,4)
              Picture = Picture["icon:/small/clear"]
            }
          }
          { 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
            Expand = True
          }
          { Label13 Label
            MoveScaled(0,43,13,4)
            #Translate = False
            Text = "Radio"
          }
          { chkRadio CheckBox
            MoveScaled(14,43,4,4)
            #Translate = False
            Expand = True
          }
          { Label11 Label
            MoveScaled(0,47,13,4)
            #Translate = False
            Text = "Checked"
          }
          { chkChecked CheckBox
            MoveScaled(14,47,4,4)
            #Translate = False
            Expand = True
          }
          { Label12 Label
            MoveScaled(0,51,13,4)
            #Translate = False
            Text = "Translate"
          }
          { chkTranslate CheckBox
            MoveScaled(14,51,4,4)
            #Translate = False
            Expand = True
          }
        }
      }
    }
  }
  { Separator6 Separator
    MoveScaled(1,71,16,0)
  }
  { HBox2 HBox
    MoveScaled(1,74,114,6)
    Spacing = True
    Margin = True
    { panEvent Panel
      MoveScaled(4,0,37,4)
      Expand = True
      Arrangement = Arrange.Horizontal
      Spacing = True
    }
    { btnOK Button
      MoveScaled(55,0,16,4)
      Text = ("OK")
    }
    { 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"
  }
}
