471,624 Members | 1,953 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,624 software developers and data experts.

Scrolling a panel or a listbox with no scrollbars?

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
1 2812
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.

Similar topics

1 post views Thread by Kristof Nachtergaele | last post: by
reply views Thread by Raymond Dynowski | last post: by
reply views Thread by Martin Peter Hanke | last post: by
5 posts views Thread by Blue Streak | last post: by
4 posts views Thread by Nathan | last post: by
1 post views Thread by John | last post: by
reply views Thread by Elroyskimms | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.