Profile Picture

Why is Zoom Out tool button always initially disabled?

Posted By C17 12 Years Ago
Author
Message
C17
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 2, Visits: 1
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



Similar Topics


Reading This Topic