JVCL Help:TJvInspectorCompoundItem.InsertColumn@Integer@Integer

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

Search in JVCL Help

 
Search in all projects
 

Summary

Inserts the specified child to column list at a specified index.


Pascal

 procedureInsertColumn(constIndex: Integer; constItem: TJvCustomInspectorItem); overload;
procedureInsertColumn(constIndex: Integer; constItemIndex: Integer); overload;


Parameters

Parameters Description
const Index: Integer Index at which the item is to be inserted into the column list. This is a 0-based index. The item will be inserted at the index, moving all items at or above the index to the right. If Index = ColumnCount, the item will be added to the column list.
const Item: TJvCustomInspectorItem Item to add as a column. Item is checked to be a child of the compound item.
const ItemIndex: Integer Index into the Items item list of the item to add.


Description

InsertColumn will insert the specified child in the Items list to the Columns list at the specified index. This will remove the specified item from the Items list (a column item can't be shown as a child item as well). The column is initialized to a width of 0 (see Width and WidthSet for more information).
InsertColumn comes in two overloaded versions: one to insert an Item instance and one to insert the item at an index in the Items property.


See Also

TJvInspectorCompoundItem.AddColumn, TJvInspectorCompoundItem.DeleteColumn


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