Why is Zoom Out tool button always initially disabled?


Author
Message
Charles Pevsner
Charles Pevsner
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
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search