JVCL Help:IPageList.SetActivePageIndex

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Changes the currently active page.


Pascal

 procedureSetActivePageIndex(AIndex: Integer);


Parameters

Parameters Description
AIndex: Integer The new 0-based index of the page to make the active page. If AIndex is outside the range of the page list, the IPageList implementation should do nothing.


Description

SetActivePageIndex is called by the IPageList consumer when it wants to change the currently active page. A call to SetActivePageIndex is mostly preceded by a call to CanChange and SetActivePageIndex is only called if CanChange returns true.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page