JVCL Help:TJvInspectorCustomCompoundItem.InsertColumnPrim@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

 procedureInsertColumnPrim(constIndex: Integer; constItem: TJvCustomInspectorItem); virtual; overload;
procedureInsertColumnPrim(constIndex: Integer; constItemIndex: Integer); virtual; 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

InsertColumnPrim 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).
InsertColumnPrim comes in two overloaded versions: one to insert an Item instance and one to insert the item at an index in the Items property.
This method primarily intended as an internal method to insert columns. Some descendants will surface this behavior through publicly declared methods, others don't but insert the columns automatically (such as TJvInspectorDateTimeItem).


See Also

TJvInspectorCustomCompoundItem.AddColumnPrim, TJvInspectorCustomCompoundItem.DeleteColumnPrim


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