JVCL Help:TJvComboListBox.AddImage

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

Search in JVCL Help

 
Search in all projects
 

Summary

Adds an image to the list box.


Pascal

 functionAddImage(P: TPicture): Integer;


Parameters

Parameters Description
P: TPicture The picture to add. A copy is created internally and added to the Items.Objects list.


Return Value

Returns the index of the item in the Items list.


Description

Use AddImage to add a TPicture to the Items list. AddImage is a helper function that assures that the image is copied to an internal TPicture and added to the Items.Objects list. You can also call Items.AddObject directly if you prefer.


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