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

Scrolling option for canvas  RSS feed

 
mic ram
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

How can i scroll the screen in canvas
using up and down arrows of device
as it is done with form or list

regards
Rameshwari
 
Arkadev Ghoshal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use the keypressed( keyCode ) method from canvas to detect up and down keys.
also, in order to show that a menu option is selected, draw a different colour band behind it b4 it is actually drawn on screen.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!