This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Getting started with Java programming language and have Ashish Sarin & J Sharma on-line!
See this thread for details.
Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Horizontal scrolling on forms  RSS feed

 
Alice Casy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is it possible to enable horizontal scrolling on a MIDP form? I have a map image that is bigger than the size of the screen and would like to be able to navigate around it. If this is a horrifically bad idea, I'm open to alternatives
 
Eric Giguere
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, there's no specific way to turn it on. It's up to the implementation to act intelligently or not on the sizes of things, and obviously it chooses not to make it scrollable.
The only way to get around this is to display the image yourself on a Canvas and scroll it yourself. You could just display a thumbnail on the form and have a way to select it and jump to the custom Canvas that displays it.
Eric
------------------
Eric Giguere
author of:
Java 2 Micro Edition : A Professional Developer's Guide
PalmTM Database Programming: The Complete Developer's Guide
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!