Can someone please assist me with the following : I have attached a basic paint app. The zooming works fine, but the rulers disappear when I scroll horizontally or vertically. I need the rulers to stay fixed like for example MS Word's rulers.
Can someone please assist me with the following : I have attached a basic paint app. The zooming works fine, but the rulers disappear when I scroll horizontally or vertically. I need the rulers to stay fixed like for example MS Word's rulers.
Thank you very much
This is a library my IDE said, so where is a testapp to use this code and to be able to start the application and run it to see your troubles. Is there something missing ?
Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ? My latest articles : Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
Yes, I'm sorry, I uploaded the wrong file I see.
Here's the file that contains the library and the test app.
OK.I have done a short look in the moment. How to verify your problem ? As this is an editor obviously so what do I need to do to get your problem on the screen ? I'll have more time to look on it in the evening. ( its just 14h here now )
Last edited by JonnyPoet; February 14th, 2008 at 07:56 AM.
Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ? My latest articles : Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
Thanks a lot for the help, I appreciate it.
You have to zoom in until the horizontal and vertical scrollbars appear.
Then when you scroll down or to the right, you will see the rulers are not shown anymore.
I have tried everything to move the rulers as the user scrolls, but to no avail.
What I need is that as the user scrolls, the rulers must still be visible.
.....I have tried everything to move the rulers as the user scrolls, but to no avail.
What I need is that as the user scrolls, the rulers must still be visible.
....
What you gave me the rulers still are there but they dont scroll. Do simple the following in the DocumentArea class
1) Add a Scroll delegate to panel1
Then your rulers will scroll with your aerea. Hope this helps. Vienna is greeting France
BTW: Excellent design, great code !
Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ? My latest articles : Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
Thanks a lot for your trouble!! It works perfectly now! I can't believe I missed something so obvious
No problem. It was a pleasure to help in such a great design. I thought, that this was obviously only forgotten to add, as in the resize delegate you have it. BTW Dont forget to use threadtools and sign post as resolved.
And as this seems me to be a professional project -- remove the zips.
Last edited by JonnyPoet; February 15th, 2008 at 06:45 AM.
Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ? My latest articles : Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.