3c8efd56e9
* NEW: Update chinese translations. [EXAMPLES] * NEW: Add screenshots, switch to 1.0 version, and publish. [INTERPRETER] * NEW: Allow WAIT to raise errors. [GB.DESKTOP] * NEW: DesktopWindow.Geometry is a new property that returns the geometry of the window inside as a rectangle. * NEW: DesktopWindow.Frame is a new property that returns the geometry of the window outside (with the frame) as a rectangle. * NEW: DesktopWindow.GetScreenshot() is a new method that returns a screenshot of a window, with or without the frame. * BUG: DesktopWindow X, Y, Width and Height properties return the window geometry without the frame. [GB.GTK] * NEW: Raise an error if WAIT is called during a keyboard event. [GB.GTK3] * NEW: Raise an error if WAIT is called during a keyboard event. [GB.QT4] * NEW: Raise an error if WAIT is called during a keyboard event. git-svn-id: svn://localhost/gambas/trunk@6746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
71 lines
1.3 KiB
Text
71 lines
1.3 KiB
Text
# Gambas Form File 3.0
|
|
|
|
{ Form Form
|
|
MoveScaled(0,0,61,30)
|
|
Text = ("Settings")
|
|
Resizable = False
|
|
Arrangement = Arrange.Vertical
|
|
Spacing = True
|
|
Margin = True
|
|
{ VBox1 VBox
|
|
MoveScaled(1,1,54,22)
|
|
{ HBox2 HBox
|
|
MoveScaled(2,1,50,6)
|
|
{ lblX Label
|
|
MoveScaled(1,1,24,4)
|
|
Expand = True
|
|
AutoResize = True
|
|
Text = ("Width")
|
|
}
|
|
{ spinWidth SpinBox
|
|
MoveScaled(14,1,9,4)
|
|
MinValue = 5
|
|
MaxValue = 50
|
|
}
|
|
}
|
|
{ HBox4 HBox
|
|
MoveScaled(2,8,50,6)
|
|
{ lblY Label
|
|
MoveScaled(1,1,24,4)
|
|
Expand = True
|
|
AutoResize = True
|
|
Text = ("Height")
|
|
}
|
|
{ spinHeight SpinBox
|
|
MoveScaled(26,1,9,4)
|
|
MinValue = 5
|
|
MaxValue = 25
|
|
}
|
|
}
|
|
{ HBox6 HBox
|
|
MoveScaled(2,15,50,6)
|
|
{ lblMines Label
|
|
MoveScaled(0,1,14,4)
|
|
Expand = True
|
|
AutoResize = True
|
|
Text = ("Number of mines")
|
|
}
|
|
{ spinMines SpinBox
|
|
MoveScaled(37,1,9,4)
|
|
}
|
|
}
|
|
}
|
|
{ HBox1 HBox
|
|
MoveScaled(1,25,59,4)
|
|
Spacing = True
|
|
{ Panel1 Panel
|
|
MoveScaled(4,0,4,4)
|
|
Expand = True
|
|
}
|
|
{ btnOK Button
|
|
MoveScaled(24,0,16,4)
|
|
Text = ("OK")
|
|
Default = True
|
|
}
|
|
{ btnCancel Button
|
|
MoveScaled(41,0,16,4)
|
|
Text = ("Cancel")
|
|
Cancel = True
|
|
}
|
|
}
|
|
}
|