GetStatus
GetStatus returns the status of the PageBase in the Folder pFolder, or in the current Folder when pFolder is NULL(default).
int GetStatus( Folder & fld = NULL, int* pnCurrentIndexInFolder = NULL )
Returns the status of the PageBase in the Folder pFolder, or in the current Folder when pFolder is NULL(default). Can be one or more of the following:
PBFS_SHORTCUT, PBFS_HIDDEN, PBFS_SELECTED, PBFS_SLIDE_HIDDEN.
EX1
int PageBase_GetStatus_ex1() { foreach(PageBase pb in Project.Pages) { if( pb.GetStatus() == PBFS_HIDDEN ) printf("%s is hidden\n", pb.GetName()); else printf("%s show state is %d\n", pb.GetName(), pb.GetShow()); } return 0; }
This is a new method added in Origin 8.1
origin.h