You Are Here:

Community: Developer Discussion Boards

#1 Old add scrollbar to canvas image - 2006-07-27, 19:01

Join Date: Sep 2005
Posts: 119
Pepper_91
Offline
Regular Contributor
Hi!

Anybody has an example of a scrollbar? I have a Map, in a canvas, and I want to add scrollbars, in horizontal and vertical. Any example code?

thank you very much!
Reply With Quote

#2 Old Re: add scrollbar to canvas image - 2006-07-28, 01:13

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi,

do you really need it? from my experience due to limited screen size developers usually avoid using scrollbars if possible (at least with non-text data),
in case of maps simpy using joystick navigation (game keys) should work and there and there could be added "navigation mockup" drawn over map showing that map can be scrolled in given direction,
try google maps for mobile to see what I mean (they however do not provide user specific hint about scrolling map),
regards,
Peter
Reply With Quote

#3 Old Re: add scrollbar to canvas image - 2006-07-28, 06:53

Join Date: Feb 2006
Posts: 689
soku123
Offline
Super Contributor
Hi Pepper_91,
I also suggest what peter has told you.I think its better not to use scrollbars and joystick usage is best.
Thanks
Soku
Reply With Quote

#4 Old Re: add scrollbar to canvas image - 2006-07-28, 07:22

Join Date: Mar 2004
Posts: 1,926
Location: Czech Republic
stenlik's Avatar
stenlik
Offline
Forum Nokia Champion
Hi,

if you use some own control displaying the big bitmaps for vertical scrolling you can use the indication between CBA buttons - but you must create it manually by calling few methods - there's a lot of posts on this topic(How to create scrollbars) on Nokia forum... Starting from 3rd edition it's possible to have also vertial scrollbar on the right side of the screen. Using vertical scrollbars is not possible and it's consider to be not a good style on S60... But I agree that sometimes it's necessary to scroll also in horizontal direction(web pages, not wrapped text files, big images..) I suggest to draw some small scroll indicatior by your own

Bye
STeN
Reply With Quote

#5 Old Re: add scrollbar to canvas image - 2006-07-28, 09:53

Join Date: Sep 2005
Posts: 119
Pepper_91
Offline
Regular Contributor
Hi!

Thank you for your answers.

My particular case, is about a map, but not a large map, like in google maps, is a small map, about 3 or 4 screens sizes. I want that the users can know how large the map is, through the scrollbars, and the position in each moment.

Something like this:

http://img.photobucket.com/albums/v7...r_91/barra.jpg
Reply With Quote

#6 Old Re: add scrollbar to canvas image - 2006-08-19, 17:49

Join Date: Aug 2006
Posts: 6
bladestorm
Offline
Registered User
Hello.
I'm curious, did you ever get this problem solved?
Reply With Quote

#7 Old Re: add scrollbar to canvas image - 2006-11-06, 10:35

Join Date: Sep 2005
Posts: 119
Pepper_91
Offline
Regular Contributor
Quote:
Originally Posted by bladestorm
Hello.
I'm curious, did you ever get this problem solved?
Yes ;)

http://img.photobucket.com/albums/v7...91/10_Mapa.jpg
Reply With Quote

#8 Old Re: add scrollbar to canvas image - 2007-05-22, 07:49

Join Date: May 2007
Posts: 61
atiqe
Offline
Regular Contributor
I am also trying to add scroll bar to my canvas but not able to do so yet. Can you tell me how you done that.
Reply With Quote

#9 Old Re: add scrollbar to canvas image - 2009-03-23, 05:48

Join Date: Jul 2008
Posts: 19
anigma.55
Offline
Registered User
hi guys,
I am facing a similar problem.I've developed an application that provides google maps.I need to be able to scroll through the map.The joystick control scrolling is limited to the size of the map.Once I reach the edge of the map,I need to download a new adjacent map.How can this be done?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
image on camera Canvas mshouab Mobile Java Media (Graphics & Sounds) 29 2008-09-29 09:52
--- ???save image problem??? --- ferenn Mobile Java Media (Graphics & Sounds) 6 2007-10-01 15:33
HELP: Mutable Image to Immutable Image? rj_cybersilver Mobile Java Media (Graphics & Sounds) 1 2005-03-26 10:58
Major problem with delegation to Canvas bartekn Mobile Java Media (Graphics & Sounds) 8 2003-10-08 18:46
Image Menu with canvas efeba Mobile Java Media (Graphics & Sounds) 2 2003-06-26 12:33

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ