Returns or sets a value which specifies if the Form can be moved or be resized.
Form.Moveable = boolean
Form.Sizeable = boolean
When Moveable = False the Form cannot be moved. Be aware, when there are a Caption, a ControlBox, or a MinButton or MaxButton a window should be moveable.
When Sizeable is True the BorderStyle is changed to 2, and when Sizeable is set to False the BorderStyle is set to 1.
OpenW 1, 10, 10, 300, 300
Ocx CheckBox chk(1) = "Fix Window Position", 10, 10, 140, 22
Ocx CheckBox chk(2) = "Window Resizable", 10, 40, 140, 22 : chk(2).Value = 1
Do
Sleep
Until Win_1 Is Nothing
Sub chk_Click(Index%)
Win_1.Moveable = Not (-chk(1).Value)
Win_1.Sizeable = - chk(2).Value
EndSub
Form, Sizeable, Caption, ControlBox, MinButton, MaxButton
{Created by Sjouke Hamstra; Last updated: 20/10/2014 by James Gaite}