MF
Meera Fathima
Syncfusion Team
May 15, 2007 10:35 AM UTC
Hi Graingeot,
Setting the Diagram.AutoScrolling = ScrollBars.None will let you disable the autoscroll property. But it seems this property is not working in v5.1 of Essential Diagram.
I will log a QA report on this issue and will try to fix this issue in the future release of the product.We apologize for the inconvenience caused.
Thanks and Regards,
Meera.
SK
Satya Kolachina
May 16, 2007 02:32 PM UTC
Hi Graingeot,
The autoscroll can be programmatically prevented by setting both the HScroll and VScroll properties of the diagram object to false, or whichever of them is desired to be disabled.
In the VS2005 form designer if you set these values, the control will not retain the values. This problem existed in 4.4 version as well as carried forward to 5.1. Syncfusion did not do anything to fix it in the new release (unfortunately).
However, programmatically this can be done as mentioned in the first paragraph. I did that way in 4.4, tested in 5.1 and found that it works in 5.1 also. However, I have not ported my appliaction to 5.1, since I do not normally port my appliation to newer version unless all the aspects relevant to my appliation are met in the 5.1 version. So, I do test the 5.1 with samples first and then finally port my application. That is my approach.
Regards,
Satya S Kolachina
>Hi Graingeot,
Setting the Diagram.AutoScrolling = ScrollBars.None will let you disable the autoscroll property. But it seems this property is not working in v5.1 of Essential Diagram.
I will log a QA report on this issue and will try to fix this issue in the future release of the product.We apologize for the inconvenience caused.
Thanks and Regards,
Meera.
JG
Julien GRAINGEOT
May 16, 2007 05:28 PM UTC
It does not work. I've wrote:
diagram.HScroll = false;
diagram.VScroll = false;
diagram.AutoScrolling = ScrollBars.None;
and diagram continue to scroll if I drag a shape near borders.
JG
Julien GRAINGEOT
May 16, 2007 05:40 PM UTC
My application must never scrolling, can I overdive some "scroll" function whith a "do nothing" function ? If this function exist, please tell me where is it.
Thanks.
JG
Julien GRAINGEOT
May 17, 2007 09:33 PM UTC
I thing the problem is not scroll. When I drag a shape near border, and see the View "scrolling", HorizontalScroll, VerticalScroll or WindowScrolling events are not fired. However, the "Origin" property is automaticaly modified.
How can I prevent this property to be changed?
Thanks.
MF
Meera Fathima
Syncfusion Team
May 21, 2007 01:06 PM UTC
Hi Graingeot,
I am sorry about this delay in responding. Could you please open a new DT incident with the subject of this forum. So that you can follow-up with this issue statue through the incident.
Thanks you for using Essential Diagram.
Best Regards,
Meera.