Icon Close Method

procedure Close

Use this method to close the page. When this method is called, the OnCloseQuery event is triggered, followed by the OnClose event. If the OnCloseQuery event handler returns True, then the page will be hidden before the OnClose event handler is triggered. After the OnClose event handler is executed, the page will be removed from its parent page panel and disposed of.