Nevron Forum

Why is Zoom Out tool button always initially disabled?

https://www.nevron.com/Forum/Topic6797.aspx

By Charles Pevsner - Tuesday, August 7, 2012

I display the diagram initially at normal scale, but my users need the ability to zoom out from there. However, the zoom out button is always disabled initially; and if I zoom in, then out, once the diagram is at normal scale it becomes disabled again. What's the deal?

Here's all I'm doing; nothing special:

NDiagram1.Toolbar.Items.Add(New NToolbarButton(New NZoomInAction()))
NDiagram1.Toolbar.Items.Add(New NToolbarButton(New NZoomOutAction()))

NDiagram1.View.ZoomFactor = 1
NDiagram1.View.MaxZoomFactor = 10

Thanks,

C17