JVCL Help:TJvFullColorList.Remove

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

Search in JVCL Help

 
Search in all projects
 

Summary

Remove a color of the list.


Pascal

 functionRemove(AColor: TJvFullColor): Integer;


Parameters

Parameters Description
AColor: TJvFullColor Color to remove.


Return Value

Old index of this color in the list.


Description

This function delete the first match of the AColor parameter in the list. If one color is found, it is deleted and an OnChange event is sent with Operation = ofDeleted, the result of this function is he old index of this color in the list. If the color is not found in the list, the return value is -1 and the list remains unchanged. This remove only the first match of the color in the list.


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