please how can i create a scrollbar in a j2me canvas
Hi elvis10ten and Welcome to Nokia Developer Discussion Boards,
Canvas doesn't have scrollbars, but you can create by your own.
see example how to create vertical scrollbar. In this example scrollbar is used for ScrollableMessageBox based on CustomItem. same way you can use for canvas. see paint() and drawScrollBar() methods in the example for more info.
Thanks. But i do not understand the code. Please i need an explanation of how it works please.
(Poster of the Month -Dec'12)
Follow me on my blog for Innovative Mobile Apps