close_close_the_view_.htm
Navigation: ABC Library Reference > ViewManager > ViewManager Methods >====== Close (close the view) ====== | |
Close ( <;force> ), VIRTUAL
The Close method closes the managed VIEW.
Normally, a VIEW is closed by the Close method, providing that it was opened with the Open method. The force flag is used to close a VIEW that was not originally opened by the ViewManagers's Open method.
Example:
MyView.AddSortOrder(ORD:ByCustomer) !sort by customer no
MyView.AddRange(ORD:CustNo,Relate:Orders,Relate:Customer) !range limit by parent file
MyView.Open !open the view
!program code
MyView.Close !close the view
See Also: Open
close_close_the_view_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1