JVCL Help:IJvDataItemsDesigner.GetKind

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

Search in JVCL Help

 
Search in all projects
 

Summary

Retrieve the menu caption for an item kind.


Pascal

 functionGetKind(Index: Integer; outCaption: string): Boolean;


Parameters

Parameters Description
Index: Integer Index of the item kind for which to retrieve the caption. Index is a 0-based value. If the specified index is invalid the function will return nil.
out Caption: string If the function returns True, this parameter will return the caption for the menu item to generate.


Description

GetKind will retrieve a caption (usable for the designer menu) for a given item kind. The first item kind has an index of 0, so the valid range of Index is 0..GetCount-1.
If an invalid index is specified, the function returns False (Caption is undefined in this case).


See Also

IJvDataItemsDesigner.GetCount


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