This is a migrated thread and some comments may be shown as answers.

Page turn

5 Answers 118 Views
Book
This is a migrated thread and some comments may be shown as answers.
Russ
Top achievements
Rank 1
Russ asked on 17 Aug 2010, 11:13 PM
By default, if a user wants to turn the page forward, they can click on the corner or drag the corner to the other page and let off the mouse. If the user only drags the corner of the page part way, the page falls back into place and no page turn occurs.

I'm wanting to change how far the page has to be dragged for a page turn to occur. Is this possible? In my project, I only show the right page of the book (the left page is clipped off). It would be nice if the user could drag the page corner to, say, half way across the right page, and the page turn would still happen.

Thanks!

5 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 20 Aug 2010, 04:50 PM
Hi Russ,

Unfortunately the RadBook doesn't support such scenario. However I added it as a feature request to our PITS under the name Book: Allow the user to determine how far the page has to be dragged for a page turn to occur. You can vote for it from tomorrow the latest and if the feature gather enough popularity we will definately consider implementing it. I also updated your Telerik points accordingly.

Any additional comments on the matter are highly appreciated.

Kind regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
prog1
Top achievements
Rank 1
answered on 30 Sep 2010, 02:19 PM
Could it be possible to turn down a small piece of the page corner?

Would be nice to have a page fold, that is shown if the user could turn around the page.
For developers a simple property ShowPageFold true or false or never?
0
Kiril Stanoev
Telerik team
answered on 05 Oct 2010, 01:25 PM
Hello Fabian,

Please have a look at the attached project as it demonstrates similar functionality. Let me know if this helps.

All the best,
Kiril Stanoev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Sam
Top achievements
Rank 1
answered on 21 May 2012, 09:41 AM
Hello,
I had ever made a page turing flipbook via turning page software. The page turns when i drag the page corner, or click on next page button. If I drag the page, it turns according with my actions. So maybe you can have a try.
0
Lancelot
Top achievements
Rank 1
answered on 22 May 2012, 05:12 PM
Hi Sam,

You have access to several events when the user grabs the fold edge and also how far the fold goes. If I understand you correctly, you want the page to turn when the fold is pulled all the way over. If this is not what you are asking, please give me a little more detail and I can write you an example app demonstrating the control's capabilities.

Here is a list of just some of the events you can handle with RadBook:
  • FoldActivated - raised when the user hovers the fold with the mouse.
  • FoldDeactivated - raised when the fold is not active - e.g. the user is not over it. (will also happen after page is turned)
  • PageChanged - raised when the page set is changed.
  • PageFlipStarted - raised when user starts to flip a page.
  • PreviewPageFlipStarted - raised when user starts to flip a page. Allows the developer to cancel the page flip.
  • PageFlipEnded - raised when the flip is finished. This happen when the page is changed, or user canceled the flip.

Alongside the events, there are a lot of properties you can play with to get the feel you're looking for. Here are some that I use in the  demo project I created for you:

Adjust the FoldSize (the distance the fold will pull away from the edge of the book )
Toggle the IsKeyboardNavigationEnabled (allows the left/right keys to turn a page)

I've attached a demo project (it contains comments inside the code explaining what i did to get these results). You can turn the pages in one of three ways;

  1. Drag a folded corner across the page (the page turn completes when you let go of the fold).
  2. Hover over a folded corner and press left mouse button
  3. Use the left or right arrow keys on the keyboard

Along with the project, I've attached 2 screenshot images. They show all the events possible with the RadBook control and also the RadBookItem (individual pages raise events as well). Because I cannot attach the project here, this link will bring you to my public dropbox folder where you can download it. http://dl.dropbox.com/u/47517502/RadBookExampleProject.zip

Good luck, if you have questions I will be monitoring this thread.
Lancelot

Tags
Book
Asked by
Russ
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
prog1
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Sam
Top achievements
Rank 1
Lancelot
Top achievements
Rank 1
Share this question
or