You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2021/11/16 20:44:38 UTC

[royale-asjs] branch develop updated: Added dragStart Event in UIComponent.as

This is an automated email from the ASF dual-hosted git repository.

pushminakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new d66a0b6  Added dragStart Event in UIComponent.as
d66a0b6 is described below

commit d66a0b6f8df61f688b50a09d2e2e60bd074fda6d
Author: pashminakazi <pa...@gmail.com>
AuthorDate: Tue Nov 16 12:44:25 2021 -0800

    Added dragStart Event in UIComponent.as
---
 .../MXRoyale/src/main/royale/mx/core/UIComponent.as | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 5eb21e1..b37c5f6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -620,6 +620,27 @@ import mx.binding.BindingManager;
 
 [Event(name="keyFocusChange", type="mx.events.FocusEvent")]
 
+
+/**
+ *  Dispatched by the drop target when the user releases the mouse over it.
+ *
+ *  <p>You use this event handler to add the drag data to the drop target.</p>
+ *
+ *  <p>If you call <code>Event.preventDefault()</code> in the event handler
+ *  for the <code>dragDrop</code> event for
+ *  a Tree control when dragging data from one Tree control to another,
+ *  it prevents the drop.</p>
+ *
+ *  @eventType mx.events.DragEvent.DRAG_START
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+
+[Event(name="dragStart", type="mx.events.DragEvent")]
+
 /**
  *  The main color for a component.
  *