Returns the active page. The active page is the one displayed in the editor and on which you can work.
Syntax: |
---|
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 code | |
---|---|
if (DlxApp.GetActivePage().IsValid())
{
DlxApp.Trace("Active page: %s", DlxApp.GetActivePage().GetName());
}
|