JVCL Help:TJvInspectorCustomCompoundItem.AddColumnPrim@Integer

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

Search in JVCL Help

 
Search in all projects
 

Summary

Adds the specified child to column list.


Pascal

 functionAddColumnPrim(constItem: TJvCustomInspectorItem): Integer; virtual; overload;
functionAddColumnPrim(constItemIndex: Integer): Integer; virtual; overload;


Parameters

Parameters Description
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

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


See Also

TJvInspectorCustomCompoundItem.DeleteColumnPrim, TJvInspectorCustomCompoundItem.InsertColumnPrim


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