开发者

How to hide a scrollbar? (Windows Mobile)

开发者 https://www.devze.com 2022-12-22 14:39 出处:网络
I have one panel \"imageHolder\" I have from 4 to 20 pictureboxes (each pictureBox is 256x256px so they increase the panel\'s size to more than the cellphone\'s workarea)

I have one panel "imageHolder" I have from 4 to 20 pictureboxes (each pictureBox is 256x256px so they increase the panel's size to more than the cellphone's workarea) I have set the panel's autoscroll = true, so that a V and H scrollbar is shown.

Is it possible to make these scrollbars not visible?

The reason i want them to be not visible: - I want to be able to use touch to move around in the panel, and thought that i can do this by just increasing/decreasing the scrollbar's position.

Is there a way to do this? (I have searched, but can't seem to find anything useful. Looks开发者_如何学JAVA like the scrollbars are a bit limited)

Do you recommend me to do it some other way?


A bit of a hack, but you could just make the panel bigger than the viewable area so that the scroll bars are off the screen...


you could just change the autoscroll property to false.

0

精彩评论

暂无评论...
验证码 换一张
取 消