Page 1 of 1
Drag and Drop event
Posted: Tue Feb 20, 2007 4:01 pm
by ehuynh
I am new to stimulreport and was wondering if there is a way of catching drag and drop events within the designer. If so, how can I accomplish that?
Thank you in advance
Drag and Drop event
Posted: Tue Feb 20, 2007 8:04 pm
by Vital
It depends from actions you need do? Please explain what you need do.
Thank you.
Drag and Drop event
Posted: Wed Feb 21, 2007 9:44 am
by ehuynh
Basically, eventually what I want to do is incorporate the designer into my application. From there, I want to drag and drop object from a tree control. Each item in the tree cooresponds to a different object. Therefore, I need to be able to know when a user drag and drops something onto the designer, what is dropped and where it's dropped, so that I can ensure the proper object is dropped and displayed on the designer.
Thank you for the quick reply.
Drag and Drop event
Posted: Thu Feb 22, 2007 4:14 am
by Edward
ehuynh wrote:Basically, eventually what I want to do is incorporate the designer into my application. From there, I want to drag and drop object from a tree control. Each item in the tree cooresponds to a different object. Therefore, I need to be able to know when a user drag and drops something onto the designer, what is dropped and where it's dropped, so that I can ensure the proper object is dropped and displayed on the designer.
Thank you for the quick reply.
In the build from February, 22 we've added a new static event StiDesigner.DragDropToPage. This event allows you to control drag and drop events on the report page.
Thank you.
Drag and Drop event
Posted: Fri Feb 23, 2007 11:19 am
by ehuynh
Thank you, that works really well.
Just wondering if any of the other drag/drop events can be caught (eg. dragenter/dragover)?
Drag and Drop event
Posted: Mon Feb 26, 2007 2:39 am
by Vital
We have added following static events:
StiDesigner.DragEnterToPage
StiDesigner.DragLeaveFromPage
StiDesigner.DragOverPage
StiDesigner.QueryContinueDragOverPage
Events will be available in build from 26 Feb.
Thank you.