Displaying file names one by one..

Login to reply to this topic.
Tue, 2007-07-24 12:28
Joined: 2007-06-05
Forum posts: 6

Hi ,


I am working in a symbian project and i have struggled in a problem of displaying array values periodically on a screen. I am trying to display all the file names on screen periodically. I have already done that scanning the file system and put it in an array. Now, i want to display
the array values one by one on screen. My doubt is, which control i want to use for displaying file names. Will u please kindly help me to solve this problem.


thanks and regards,

Jobin.


Tue, 2007-07-24 12:49
Joined: 2003-09-22
Forum posts: 25
Re: Displaying file names one by one..

You could use some of the native controls such as a text box or create your own control to display the text. You would then use an active object to periodically reset the text and call DrawDeferred() on your control.

Tue, 2007-07-31 06:02
Joined: 2007-06-05
Forum posts: 6
Re: Displaying file names one by one..

Hi Brian.egan,

Thank you for your quick responce. I didn't get a clear idea for solving my problem.
Regards,

Jobin

Tue, 2007-07-31 11:06
Joined: 2005-06-09
Forum posts: 174
Re: Displaying file names one by one..

It might help if you explained exactly what you want to do. It sounds from your description like you want to display the strings one at a time, changing strings to display after some time. There's no readymade control for this purpose, so you'll have to implement your own solution.

One way to do it would be to put a label on the screen, setup a timer to go off at regular intervals, and in the timer callback, change the string that's displayed on the label.


  • Login to reply to this topic.