×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Feb 2005
    Posts
    151

    Angry Page info in CEikEdwin

    I am developing a text viewing software. I used a CEikEdwin to hold the loaded text from files. I need to implement page-related functions.

    For page up/down function in the editor, I find the MoveCursorL can do this work.
    However, I still can not find the following functions related to page:

    1. I want to know how many pages totally in the editor after loading the whole file.
    2. I want to know the current page number that I am reading.
    3. I need to scroll the editor to the specific page number. For example, page down to page 15.
    4. I want to judge if currently it is the first page, or last page.

    Does anybody know the solution? Thanks!

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,750

    Re: Page info in CEikEdwin

    Since you have mentioned MoveCursorL, you have checked the CTextView already. The other important part of an editor is the text itself, CPlainText apparently has some support for tracking page positions, however it says the relevant document positions have to be calculated by the developer.

Similar Threads

  1. Problem with running SnapMobileSample
    By quanxpro in forum Mobile Java Games
    Replies: 7
    Last Post: 2008-04-25, 18:27
  2. Replies: 20
    Last Post: 2007-10-09, 09:19
  3. Problem executing Maze Racer
    By IFtechsupport in forum Mobile Java Games
    Replies: 1
    Last Post: 2006-09-22, 17:18
  4. CEikEdwin control in a TabScreen View
    By stefass in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-02-16, 11:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×