JVCL Help:TJvRichEdit.OnGetDragDropEffect

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 drags an OLE object over the control.


Pascal

 propertyOnGetDragDropEffect: TRichEditGetDragDropEffectEvent;


Parameters

Parameters Description
Sender Rich Edit control that has fired this event.
ShiftState Indicates the state of the shift keys and mouse buttons.
AllowedEffects Returns the 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.


Description

Use an OnGetDragDropEffect event to provide feedback to the user about what would happen if a drop occurred at this point. Typically, pressing certain combination of the Shift, Alt, or Ctrl keys while dragging an object changes the effect. For example:

Keys Effect
Ctrl and Shift rdeLink
Ctrl rdeCopy
Alt rdeMove


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