JVCL Help:TJvCustomInspectorItem.ApplyDisplayIndices

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

Search in JVCL Help

 
Search in all projects
 

Summary

Set the DisplayIndex of all items in the given list to their index in the list.


Pascal

 procedureApplyDisplayIndices(constItemList: TList); virtual;


Parameters

Parameters Description
const ItemList: TList The list of items for which to set the DisplayIndex.


Description

ApplyDisplayIndices will iterate over all items in the specified list and sets the DisplayIndex of these items to their index in the list.
ApplyDisplayIndices is used by all sorting mechanism to change/update the sort order of sub items (eg. AlphaSort calls BuildDisplayableList to retrieve a list of displayable items, sort the list alphabetically by name and calls ApplyDisplayIndices to save that order).


See Also

TJvCustomInspectorItem.BuildDisplayableList


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