473,626 Members | 3,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2935
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
17520
by: Kristof Nachtergaele | last post by:
Hi, I'm looking for something, which acts as a container, that I can drop onto my form and which has a size that is bigger than the visible part, the invisible pazrt being scrollable to with scrollbars. Actually it boils down to a form in a form in a certain way, does anyone have any idea if there is allready such a component around somewhere, and if not from which class to start to create it? thx,
0
1455
by: Raymond Dynowski | last post by:
I have a custom image that I draw to a picture box. The image is too big to view, so I put the picture box within a panel, so that I can scroll around the image, so far so good. I would like to see the centre of my picture by default, however I cannot seem to get access to the scrollbars controls to force them to a default position? How do I force the panel to scroll to a defined position in code? Thanks Ray
0
908
by: Martin Peter Hanke | last post by:
Hi, is there a way to determin the maximum area used by all the child control of a panel and then scroll the panel w/o having the Autoscroll feature enabled? To make this more clear: If I have a panel of lets say W=180px and add 3 child controls to it w=70px each. Where can I get the max space used? But what is more
5
3614
by: Blue Streak | last post by:
Is there a scrollbar feature for Panel Web Objects in ASP.NET and, if so, how do you turn it on? TIA...
2
3514
by: Amrit | last post by:
Hi Can anyone help me? I would really appreciate I am trying to scroll Groupboxes inside the panel when i hold panel's scroll bar and drag up and down. Such as Internet explorer where you can hold the scroll bar and drag up down which causes the material to move at the same time up and down Thank Amrit.
4
645
by: Nathan | last post by:
I need a panel with only a vertical or only a horizontal scroll bar. Is there a way to do that? Nathan
1
1212
by: John | last post by:
Can I use the Atlas controls to create a scrolling panel in a webform? Basically I want a master page that defines 90% of the screen height to be a workspace, with 5% top and bottom for other controls. The 90% should scroll (up and down) without effecting the top and bottom placeholders. Frames would be the obvious way, but no way for clicks from top and bottom to send to the main panel I guess, at least not without leaving the ASP.NET...
0
1251
by: Elroyskimms | last post by:
I have a fixed witdth panel control with horizontal scrollbars. In it, I load a table and in each table cell is an instance of a user control that I created it. In theory, 3-5 of these controls are visible in the panel at any given time, and the scrollbars can be used to see anything that is offscreen (overflowed). This works as expected in IE 6+. However, in Safari, the scrollbars do not even show up, leaving only the 3-5 controls...
1
1195
by: ashishkapoor2000 | last post by:
Hi all I am new to vb.net I just want to know how can we capture Scrolling of list box in vb.net as we used in VB(list_scroll). I wrote a programme for mapping b/w to listboxes.For that I draws lines b/w two the main problem is when we scroll the listbox.
0
1874
by: mike | last post by:
Hi guys, I have a windows form and on load event I dynamically created a panel and dynamically create/add pictureboxes to panel and added a panel to the form with docking with fill. I am basically creating a thumb nails view for multiple pictures. Two question. 1I have set the panel's autoscroll to true, so I can actually see and scroll the form if needed. But I want to scroll to work when my mouse is on any where on the panel or...
0
8259
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8192
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7188
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5571
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1805
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1504
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.