Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User vgsymbian's Avatar
    Join Date
    Jun 2007
    Posts
    5
    Hai Frnds,
    I'm working on displaying text repeatedly but I'm facing trouble wid code.
    I'm hereby including my code.....

    TInt maxOnScreen = 20; //max characters in on screen
    TInt maxLength = 65; //length of the file
    if (iCounter > maxOnScreen)
    {
    TInt readFrom = iCounter-maxOnScreen;
    if(readFrom <= maxLength)
    {
    file.Read(readFrom,txt); // file contains text which need to display
    text.Copy(txt);
    fg=ETrue;
    DrawNow();
    iCounter++;

    }
    else
    {
    iCounter=1;
    file.Read(txt,iCounter);
    text.Copy(txt);
    fg=ETrue;
    DrawNow();
    iCounter++;

    }

    }
    else
    {
    file.Read(txt,iCounter-1);
    text.Copy(txt);
    fg=ETrue;
    DrawNow();
    iCounter++;
    }
    It is displaying continuously only after the completion of the whole sentence but we need to scroll without any empty space(continuous loop).
    Can anyone please tell me the piece of code to include.
    Thanks in advance.....
    Last edited by vgsymbian; 2007-06-29 at 07:02.

  2. #2
    Registered User vgsymbian's Avatar
    Join Date
    Jun 2007
    Posts
    5
    Hai,
    Can anyone please help me out...

Similar Threads

  1. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  2. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  3. Game Developement - Display object on a image background
    By kenkwokkam in forum Mobile Java General
    Replies: 0
    Last Post: 2003-02-08, 14:58
  4. Display synchronisation
    By fnagaton in forum Symbian C++
    Replies: 1
    Last Post: 2003-02-03, 07:40
  5. Display question ...
    By kapot in forum Mobile Java General
    Replies: 0
    Last Post: 2002-10-14, 22:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved