Gambas: Tabelle: Wiki-Tabelle Form1.form

Aus Wikibooks
# Gambas Form File 1.0

{ Form1 Form
  Move(307,31,710,676)
  Text = ("Wiki-Tabelle")
  { taTabelle TextArea
    Move(32,488,480,168)
    Text = ("")
    ReadOnly = True
  }
  { pnAddRemove Panel
    Move(24,16,648,64)
    { tlRows TextLabel
      Move(8,8,72,32)
      Text = ("Zeilen:")
      Alignment = Align.Left
    }
    { tlColumns TextLabel
      Move(200,8,104,24)
      Text = ("Spalten:")
      Alignment = Align.Left
    }
    { sbRows SpinBox
      Move(88,8,88,32)
      Value = 5
      MinValue = 1
      MaxValue = 999
    }
    { sbColumns SpinBox
      Move(288,8,80,32)
      Value = 3
      MinValue = 1
      MaxValue = 999
    }
  }
  { pnButtons Panel
    Move(32,320,528,160)
    { cbFirstLine CheckBox
      Move(8,8,100,30)
      Text = ("Erste Zeile ist Überschrift")
    }
    { cbShort CheckBox
      Move(128,8,100,30)
      Text = ("kurzes Format")
      Value = True
    }
    { cbPretty CheckBox
      Move(248,8,100,30)
      Text = ("{{prettytable}}")
      Value = True
    }
    { btnTBClear Button
      Move(240,64,100,30)
      Text = ("Felder löschen")
      Picture = Picture["icon22/fileclose.png"]
    }
    { btnTBCopy Button
      Move(128,64,100,30)
      Text = ("Tabelle kopieren")
      Picture = Picture["icon22/editcopy.png"]
    }
    { btnTBMake Button
      Move(16,64,100,30)
      Text = ("Tabelle erstellen")
      Picture = Picture["icon22/exec.png"]
    }
    { btnClose Button
      Move(376,64,100,30)
      Text = ("Beenden")
      Picture = Picture["icon22/exit.png"]
    }
  }
  { tvTable TableView
    Move(24,88,472,184)
  }
  { tbTableEdit TextBox
    Move(32,280,100,30)
    Text = ("TextBox1")
  }
  { btnTableEdit Button
    Move(144,280,100,30)
    Font = Font["7"]
    Text = ("...")
  }
}