By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,600 Members | 1,666 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,600 IT Pros & Developers. It's quick & easy.

Scrolling a panel or a listbox with no scrollbars?

P: n/a
Hi All,

I know this has been discussed before but i can't really find an
answer to what i want to do. I am developing an application for
touchscreen using C#. It's going to be a fullscreen application
somewhat like a new windows shell. I want the user to scroll up/down
the objects currently viewed on the display using finger gestures
(e.g. like HTC TouchFlo where when moving your finger from the top to
the buttom of the screen the list is scrolled), also holding down his
finger on the screen and moving it up/down would scroll by moving the
view slowly (something like Pen Flicks in IE7 and vista when you hold
the pen on the webpage and the content is scrolled according to the
speed of the pen movement). I want to acheive this without having the
scrollbars visible. Is this possible?
also what's the best controls to use? Panel or a listview?

Thanks for your help in advance, really appreciated.

Mustafa
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Tue, 24 Jun 2008 11:12:36 -0700, mrabie <mu***********@gmail.comwrote:
I know this has been discussed before but i can't really find an
answer to what i want to do.
For what it's worth, I haven't seen any discussions here with the
specifics you seem to have in mind. :)
[...] I want the user to scroll up/down
the objects currently viewed on the display using finger gestures
[...] also holding down his
finger on the screen and moving it up/down would scroll by moving the
view slowly [...] I want to acheive this without having the
scrollbars visible. Is this possible?
Surely it is. But you may not find built-in .NET support for it.
also what's the best controls to use? Panel or a listview?
Well, between the two, I'd guess Panel would work better, since you can
leave the AutoScroll behavior disabled and move the child controls
explicitly yourself. I believe that with the ListView, you would be stuck
with the scrollbars.

That said, I'm not sure there's any real benefit to using either. Even
with the Panel class, you wouldn't be really taking advantage of the
container features of the class, since you'd need to move the controls
yourself explicitly in response to user input gestures.

Pete
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.