WebPageBack Function

Action

Moves the page context back for one or more pages.

Include file

WebAPI.bdh

Syntax

WebPageBack( in nPages: number optional ) : boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
nPages Number of pages to move the page context back (optional). If this parameter is omitted, the functions moves the page context back for one page.

Example

dcltrans
  transaction TMain
  begin
    WebPageUrl("http://www.mytestmall.com/", "Testmall - Menu");
    WebPageLink("Products", "Testmall - Products");
    WebPageBack();
    WebPageLink("Search", "Testmall - Search");
  end TMain;