Unit 'MUIClass.Group' Package
[Overview][Classes][Index] [#MUIClass]

TMUIGroup.ActivePage

Set (or get) the active page of a page group.

Declaration

Source position: MUIClass.Group.pas line 50

published property TMUIGroup.ActivePage : Integer
  read GetActivePage
  write SetActivePage
  default 0;

Description

Only this active page is displayed, all others are hidden. Only when PageMode = True

The value may range from 0 (for the first child) to Childs.Count - 1 (for the last child). Children are adressed in the order of addign to the Group:

Page0.Parent := Group;
Page1.Parent := Group;
Page2.Parent := Group;
Page3.Parent := Group;

Special Value:

MUIV_Group_ActivePage_First
Go to first page
MUIV_Group_ActivePage_Last
Go to last page
MUIV_Group_ActivePage_Prev
Go to the page before current page
MUIV_Group_ActivePage_Next
Go to the page after current page
MUIV_Group_ActivePage_Advance
Go to the page after current page

When changed the Event OnPageChange is triggered

See also

Childs

  

List of Childs in this Group

PageMode

  

Make the current group a page group.


Documentation generated on: 2024-04-25