JVCL Help:TJvInspectorCustomCompoundItem.IndexOfColumnPrim@TJvCustomInspectorItem

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

Search in JVCL Help

 
Search in all projects
 

Summary

Locates a specific column.


Pascal

 functionIndexOfColumnPrim(constCol: TJvInspectorCompoundColumn): Integer; virtual; overload;
functionIndexOfColumnPrim(constItem: TJvCustomInspectorItem): Integer; virtual; overload;


Parameters

Parameters Description
const Col: TJvInspectorCompoundColumn Column instance to locate.
const Item: TJvCustomInspectorItem Item instance to locate.


Description

IndexOfColumnPrim searches for a column and returns the index. If the requested column is not found, -1 will be returned, otherwise it's a 0-based index into the Columns list.
IndexOfColumnPrim comes in two overloaded versions: one to locate a column instance and one to locate an item instance.
This method primarily intended as an internal method to locate columns. Some descendants will surface this behavior through publicly declared methods, others don't (such as TJvInspectorDateTimeItem).


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