JVCL Help:TJvCustomItemViewer.GetItemState

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

Search in JVCL Help

 
Search in all projects
 

Summary

Returns the current state of the specified item.


Pascal

 functionGetItemState(Index: Integer): TCustomDrawState; virtual;


Parameters

Parameters Description
Index: Integer The index of the item in the Items array to return the state for.


Return Value

The state of the specified item or an empty set if Index is out of bounds.


Description

Call GetItemState to return the current state of an item in the Items array. Calling GetItemState is safer than accessing the State property of an item in the Items array directly since GetItemState first checks that Index is valid. If Index is out of bounds, this method returns an empty set.


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