JVCL Help:TJvComboListBox.OnDropDown

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the user tries to open the drop-down list by clicking the arrow at the right of the control.


Pascal

 TJvComboListDropDownEvent = procedure (Sender: TObject; Index: Integer; X, Y: Integer; var AllowDrop: Boolean) ofobject;
propertyOnDropDown: TJvComboListDropDownEvent;


Parameters

Parameters Description
Y Vertical pixel coordinates of the mouse pointer in the client area of the Sender.
AllowDrop Set to true if the drop-down attempt can proceed and false if the attempt to drop-down should be aborted.
X Horizontal pixel coordinates of the mouse pointer in the client area of the Sender.
Sender The component that fired the event.
Index The index of the item in the Items list.


Description

Write an OnDropDown event handler to conditionally prevent opening of a drop-down 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