Drag and Drop event

Stimulsoft Reports.NET discussion
Post Reply
ehuynh
Posts: 3
Joined: Tue Feb 20, 2007 3:59 pm

Drag and Drop event

Post 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
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Drag and Drop event

Post by Vital »

It depends from actions you need do? Please explain what you need do.

Thank you.
ehuynh
Posts: 3
Joined: Tue Feb 20, 2007 3:59 pm

Drag and Drop event

Post 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.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Drag and Drop event

Post 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.
ehuynh
Posts: 3
Joined: Tue Feb 20, 2007 3:59 pm

Drag and Drop event

Post by ehuynh »

Thank you, that works really well.

Just wondering if any of the other drag/drop events can be caught (eg. dragenter/dragover)?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Drag and Drop event

Post 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.
Post Reply