Closable, Movable
For a form, these two properties determine whether the control menu contains entries for Close and Move. Without those entries, the user can't close the form by double-clicking in the corner and can't grab the form and move it. Setting Closable to .F. also causes the close ("X") button in the upper-right corner to be disabled.Movable also applies to grid columns and toolbars, and determines whether the user can move them around.
Usage |
frmForm.Closable = lIsClosable lIsClosable = frmForm.Closable oObject.Movable = lIsMovable lIsMovable = oObject.Movable |
Example |
ThisForm.Closable = .F. ThisForm.Grid1.Column1.Movable = .F. |
See Also |
BorderStyle, ControlBox, MaxButton, MinButton, Sizable, TitleBar |