Returns the active page. The active page is the one displayed in the editor and on which you can work.

syntaxSyntax:
DlxApp.GetActivePage()

Return Value

Returns the object DlxPage corresponding to the page. Call the IsValid() method to determine if the object is valid.

Example

  Copy codeCopy code
if (DlxApp.GetActivePage().IsValid())
{
  DlxApp.Trace("Active page: %s", DlxApp.GetActivePage().GetName());
}

See also