Kill (shut down the ViewManager object)

Top  Previous  Next

 

Kill, VIRTUAL

The Kill method shuts down the ViewManager object by freeing any memory allocated during the life of the object and executing any other required termination code.

Example:

MyView.Init(OrderView,Relate:Order)            !initialize the ViewManager

MyView.AddSortOrder(ORD:ByCustomer)            !sort by customer no

 !range limit by parent file:

MyView.AddRange(ORD:CustNo,Relate:Orders,Relate:Customer)

MyView.Open                                    !open the view

!program code

MyView.Close                                   !close the view

MyView.Kill                                    !shut down the ViewManager