Deletes a context stored by a call of the WebPageStore function.
WebAPI.bdh
WebPageDeleteContext(in hContext: number): boolean;
true if the context is deleted successfully
false otherwise
Parameter | Description |
---|---|
hContext | Handle to a stored context. |
dcltrans transaction TInit begin //WebSetBrowser(WEB_BROWSER_MSIE5); WebSetUserBehavior(WEB_USERBEHAVIOR_FIRST_TIME); WebSetDocumentCache(true, WEB_CACHE_CHECK_SESSION); end TInit; transaction TMain var hContext: number; begin WebPageUrl("http://mycompany.com/"); WebPageStoreContext(hContext); WebPageLink("Internet Compliancy Tests"); WebPageLink("Frame Tests"); WebPageLink("sample", "Main Frame"); WebPageUrl("http://quote.broker.com/"); WebPageLink("quotes", "Document Moved"); // this is a link of the page: "http://mycompany.com/" WebPageLink("VCRocket", "VCRocket", 0, NULL, hContext); WebPageDeleteContext(hContext); end TMain;