PROCEDURE (d: Directory) New (f: FormModels.Model): View
END;
dir-, stdDir-: Directory;
ctrldir-: Controllers.Directory;
PROCEDURE Focus (): View;
PROCEDURE FocusModel (): FormModels.Model;
PROCEDURE RoundToGrid (v: View; VAR x, y: LONGINT);
PROCEDURE Deposit;
PROCEDURE SetDir (d: Directory);
PROCEDURE SetCtrlDir (d: Containers.Directory);
END FormViews.
FormViews are the standard views on FormModels.
CONST minBorder, maxBorder
The border of a form view is the minimal distance between any of the view borders and the bounding box of the embedded views. The preferred border can be set to a value in the range [minBorder .. maxBorder].
TYPE View
Interface, Extension
border-: LONGINT minBorder <= border <= maxBorder
Persistent
Preferred minimal distance between any view edge and the closest embedded view.
grid-: LONGINT grid > 0
Persistent
Preferred grid on which any embedded view's top-left corner should be aligned.
gridFactor-: INTEGER gridFactor > 0
Persistent
If the grid is shown, every gridFactor-th grid unit a dotted line is shown.
showGrid-: BOOLEAN
Determines whether a grid is currently drawn or not.