JVCL Help:IJvDataItemBasicAction.Execute

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

Search in JVCL Help

 
Search in all projects
 

Summary

Performs a task linked to the item.


Pascal

 functionExecute(Sender: TObject): Boolean;


Parameters

Parameters Description
Sender: TObject Reference to the control that initiated the action. Note that this may be nil in some cases.


Description

Execute performs a task linked to the item. It's usually called by the consumer when an item is either selected or double-clicked (depending on the control). The Sender parameter is usually set to the control that initiated the task. The return value will be False if nothing happened (i.e. the consumer may trigger an OnClick event to give the user the possibility to take action) and set to True when the action was executed (in this case the control will usually not trigger an OnClick event; this is solely at the consumers discretion though).


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