We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Rulers

Thread ID:

Created:

Updated:

Platform:

Replies:

43591 Apr 26,2006 03:06 PM Apr 27,2006 03:24 AM Windows Forms 1
loading
Tags: Diagram
Chris C
Asked On April 26, 2006 03:06 PM

We have an application similar to that of the DiagramBuilder. I added a menu item to show and hide the rulers. The application starts with the rulers visible. When the rulers are then hidden, the diagram view does not update/refresh and I have empty space where the rulers were until I manually scroll the diagram. I''ve tried updating and refreshing with no success. The easiest way for you to reproduce this is to add the following code to the DiagramBuilder example (I hooked it up to SnapToGrid button): Added the following code to DiagramForm_Load: this.Diagram.View.HorizontalRuler.Visible = true; this.Diagram.View.VerticalRuler.Visible = true; Add the following to barItemSnapToGrid_Click: this.Diagram.View.HorizontalRuler.Visible = !this.Diagram.View.HorizontalRuler.Visible; this.Diagram.View.VerticalRuler.Visible = !this.Diagram.View.VerticalRuler.Visible; Do you know of any way I can fix this? Thanks in advance for your help. Chris C

Jesus Arevalo
Replied On April 27, 2006 03:24 AM

We have experienced the same problem. jesus >We have an application similar to that of the DiagramBuilder. I added a menu item to show and hide the rulers. The application starts with the rulers visible. When the rulers are then hidden, the diagram view does not update/refresh and I have empty space where the rulers were until I manually scroll the diagram. I''ve tried updating and refreshing with no success. > >The easiest way for you to reproduce this is to add the following code to the DiagramBuilder example (I hooked it up to SnapToGrid button): > >Added the following code to DiagramForm_Load: >this.Diagram.View.HorizontalRuler.Visible = true; >this.Diagram.View.VerticalRuler.Visible = true; > >Add the following to barItemSnapToGrid_Click: >this.Diagram.View.HorizontalRuler.Visible = !this.Diagram.View.HorizontalRuler.Visible; > >this.Diagram.View.VerticalRuler.Visible = !this.Diagram.View.VerticalRuler.Visible; > >Do you know of any way I can fix this? > >Thanks in advance for your help. > >Chris C >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;