JVCL Help:TJvCustomRichEdit.OnDragAllowed

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 begins to drag an OLE object on the control.


Pascal

 TRichEditDragAllowedEvent = procedure (Sender: TObject; ShiftState: TShiftState; var AllowedEffects: TRichDropEffects; var Handled: Boolean) ofobject;
propertyOnDragAllowed: TRichEditDragAllowedEvent;


Parameters

Parameters Description
AllowedEffects Returns the allowed effect to use.
Handled Returns true if the event handler performs the operation, false if the rich edit control should continue with its default processing.
Sender Rich Edit control that has fired this event.
ShiftState Indicates the state of the shift keys and mouse buttons.


Description

If you set AllowedEffects to the empty set then the drag operation is cancelled.


See Also

TJvCustomRichEdit.OnDragAllowed, TJvCustomRichEdit.OnGetDragDropEffect, TJvCustomRichEdit.OnQueryAcceptData


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