Represents the field picture window. The FieldWindow object is derived from the general Window
object and inherits all of its methods and properties. All FieldWindow objects are members of
the Window collection that is accessible by the Windows
property of the Result object. The first FieldWindow is
created when the AnalyzeResult method of the Problem
is invoked. You can create as many FieldWindow objects as you need using the NewWindow
method of the Result object.
There is a special object FieldPicture containing all
the settings affected in the picture presented in the FieldWindow. To change a setting, you get
a FieldPicture associated with the FieldWindow, modify its properties and put it
back in the FieldWindow.
In addition to generic Window features, the FieldWindow
object offers the following methods and properties:
Allows you to magnify and diminish the field picture.
The two parameters as Point give the upper-left and
lower-right corners of the rectangle you want to be magnified to the whole window.
If only one input point is given, it becomes in the center of the window and the
picture is magnifies about twice.
If no input parameter is given, the picture is set to see the whole model.
Returns the Contour object
Each FieldWindow always owns only one Contour object that initially is
empty. To modify it you have to use methods provided by the Contour object.
Puts a picture of the legend window into the Windows clipboard.
The following example solves a problem, opens a FieldWindow, sets the desired
magnification, and then opens another FieldWindow.
Dim prb As QuickField.Problem
........
Dim res As QuickField.Result
If Not prb.Solved Then
If Not prb.CanSolve Then Exit Sub
prb.SolveProblem
End If
prb.AnalyzeResults
Set res = prb.Result
Dim resWin As FieldWindow
Set resWin = res.Windows(1)
reswin.Zoom QF.PointXY (0, 15)
Dim resWin2 as FieldWindow
set resWin2 = res.NewWindow