c6a9cd69c2
* NEW: Add examples again. I hope correctly this time. git-svn-id: svn://localhost/gambas/trunk@6726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
136 lines
3.2 KiB
Text
136 lines
3.2 KiB
Text
# Gambas Form File 3.0
|
|
|
|
{ Form Form
|
|
MoveScaled(0,0,101,54)
|
|
Text = ("Text Editor")
|
|
Icon = Picture["icon:/16/edit"]
|
|
Arrangement = Arrange.Vertical
|
|
Spacing = True
|
|
Padding = 5
|
|
{ HBox1 HBox
|
|
MoveScaled(1,1,99,4)
|
|
{ btnLock ToolButton
|
|
MoveScaled(0,0,4,4)
|
|
ToolTip = ("Read-only")
|
|
Picture = Picture["icon:/16/lock"]
|
|
Toggle = True
|
|
}
|
|
{ Separator5 Separator
|
|
MoveScaled(3,0,2,4)
|
|
}
|
|
{ btnBold ToolButton
|
|
MoveScaled(4,0,4,4)
|
|
ToolTip = ("Bold")
|
|
Picture = Picture["icon:/16/text-bold"]
|
|
Toggle = True
|
|
}
|
|
{ btnItalic ToolButton
|
|
MoveScaled(7,0,4,4)
|
|
ToolTip = ("Italic")
|
|
Picture = Picture["icon:/16/text-italic"]
|
|
Toggle = True
|
|
}
|
|
{ btnUnderline ToolButton
|
|
MoveScaled(10,0,4,4)
|
|
ToolTip = ("Underline")
|
|
Picture = Picture["icon:/16/text-underline"]
|
|
Toggle = True
|
|
}
|
|
{ btnStrikeOut ToolButton
|
|
MoveScaled(13,0,4,4)
|
|
ToolTip = ("StrikeOut")
|
|
Picture = Picture["icon:/16/text-strike"]
|
|
Toggle = True
|
|
}
|
|
{ Separator1 Separator
|
|
MoveScaled(16,0,2,4)
|
|
}
|
|
{ HBox3 HBox
|
|
MoveScaled(19,0,13,4)
|
|
AutoResize = True
|
|
{ btnAlignLeft ToolButton
|
|
MoveScaled(0,0,4,4)
|
|
ToolTip = ("Align Left")
|
|
Picture = Picture["icon:/16/text-left"]
|
|
Radio = True
|
|
Toggle = True
|
|
}
|
|
{ btnAlignCenter ToolButton
|
|
MoveScaled(3,0,4,4)
|
|
ToolTip = ("Align Center")
|
|
Picture = Picture["icon:/16/text-center"]
|
|
Radio = True
|
|
Toggle = True
|
|
}
|
|
{ btnAlignRight ToolButton
|
|
MoveScaled(6,0,4,4)
|
|
ToolTip = ("Align Right")
|
|
Picture = Picture["icon:/16/text-right"]
|
|
Radio = True
|
|
Toggle = True
|
|
}
|
|
{ btnAlignJustify ToolButton
|
|
MoveScaled(9,0,4,4)
|
|
ToolTip = ("Align Justify")
|
|
Picture = Picture["icon:/16/text-fill"]
|
|
Radio = True
|
|
Toggle = True
|
|
}
|
|
}
|
|
{ Separator2 Separator
|
|
MoveScaled(33,0,1,4)
|
|
}
|
|
{ ComboBox1 ComboBox
|
|
MoveScaled(34,0,26,4)
|
|
ToolTip = ("Set font face")
|
|
ReadOnly = True
|
|
Text = ("ComboBox1")
|
|
}
|
|
{ Panel2 Panel
|
|
MoveScaled(60,0,2,4)
|
|
}
|
|
{ SpinBox1 SpinBox
|
|
MoveScaled(62,0,7,4)
|
|
ToolTip = ("Set font size")
|
|
}
|
|
{ Separator3 Separator
|
|
MoveScaled(69,0,1,4)
|
|
}
|
|
{ PictureBox1 PictureBox
|
|
MoveScaled(70,0,3,4)
|
|
Picture = Picture["icon:/small/pen"]
|
|
Alignment = Align.Center
|
|
}
|
|
{ ColorButton1 ColorButton
|
|
MoveScaled(73,0,4,4)
|
|
ToolTip = ("Set font color")
|
|
}
|
|
{ PictureBox2 PictureBox
|
|
MoveScaled(77,0,3,4)
|
|
Picture = Picture["icon:/small/fill"]
|
|
Alignment = Align.Center
|
|
}
|
|
{ ColorButton2 ColorButton
|
|
MoveScaled(80,0,4,4)
|
|
ToolTip = ("Set background color")
|
|
}
|
|
{ Separator4 Separator
|
|
MoveScaled(90,0,1,4)
|
|
}
|
|
{ ToolButton1 ToolButton
|
|
MoveScaled(91,0,4,4)
|
|
ToolTip = ("Show html source code")
|
|
Picture = Picture["icon:/16/html"]
|
|
}
|
|
{ btnabout ToolButton
|
|
MoveScaled(95,0,4,4)
|
|
ToolTip = ("About this example...")
|
|
Picture = Picture["icon:/16/info"]
|
|
}
|
|
}
|
|
{ TextEdit1 TextEdit
|
|
MoveScaled(1,7,80,42)
|
|
Expand = True
|
|
Wrap = True
|
|
}
|
|
}
|