473,406 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Scrollable form ??

Les
I was wondering if in Visual Basic.net if Microsoft has made it any easier
to scroll within a form. In VB 6 to do that required 2 picture windows that
would in effect simulate a scrollable viewport. I was wondering what
components or etc are available in VB.net that would allow this??

Thanks in advance,

Les
Oct 24 '06 #1
3 1513
You can put any Control into a Panel that is configured to scroll if the
content is larger than the client area of the Panel.

--
HTH,

Kevin Spencer
Microsoft MVP
Short Order Coder
http://unclechutney.blogspot.com

What You Seek Is What You Get

"Les" <vb*@prodigy.netwrote in message
news:ej**************@TK2MSFTNGP03.phx.gbl...
>I was wondering if in Visual Basic.net if Microsoft has made it any easier
to scroll within a form. In VB 6 to do that required 2 picture windows
that
would in effect simulate a scrollable viewport. I was wondering what
components or etc are available in VB.net that would allow this??

Thanks in advance,

Les


Oct 24 '06 #2
Hi Les,

In the 2.0 framework there are actually several controls that can handle
scrolling automatically when child controls are placed outside of the parent's
client area. All of these controls derive, directly or indirectly, from
ScrollableControl (check out the AutoScroll property):

From the VS 2005 Object Browser:

ScrollableControl
ComponentTray
Panel
ToolStrip
ContainerControl
Form
PropertyGrid
SplitContainer
ToolStripContainer
ToolStripPanel
UpDownBase
UserControl

You can also subclass ScrollableControl or ContainerControl in your own custom
controls to inherit automatic scrolling behavior. (Note also that Form and
UserControl are in the list.)

--
Dave Sexton

"Les" <vb*@prodigy.netwrote in message
news:ej**************@TK2MSFTNGP03.phx.gbl...
>I was wondering if in Visual Basic.net if Microsoft has made it any easier
to scroll within a form. In VB 6 to do that required 2 picture windows that
would in effect simulate a scrollable viewport. I was wondering what
components or etc are available in VB.net that would allow this??

Thanks in advance,

Les


Oct 24 '06 #3
One thing to keep in mind that I have found out with auto scrollbars
- I dunno if this will help you.

Having a form that is set to Auto Scroll bar and Anchoring a button in the
right "lets say" ...and putting a minimum Anchor Value, ...
When that minimum value is hit, the scroll bar will not show - even if auto
scroll bar is set to true.

-VB 2005 express

Miro

"Les" <vb*@prodigy.netwrote in message
news:ej**************@TK2MSFTNGP03.phx.gbl...
>I was wondering if in Visual Basic.net if Microsoft has made it any easier
to scroll within a form. In VB 6 to do that required 2 picture windows
that
would in effect simulate a scrollable viewport. I was wondering what
components or etc are available in VB.net that would allow this??

Thanks in advance,

Les


Oct 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Muralidhar | last post by:
Hi, I'm having a jsp page which is having a table and a div tag.The heading such as a radio button,Name , Age etc. are fixed.Only the data under it is scrolling. So i've set one table for header...
7
by: Matt Kruse | last post by:
This is a typical layout, but I have specific requirements. I'm trying to figure out a) if it's possible to meet the requirements and b) if so, how. +---------------+ | header |...
3
by: pmud | last post by:
Hi, I have a web page (asp.net, code:c#). I havean html table with text boxes. Based on the user input , records are displayed in the data grid below it. Now the datagrid has a large no. of...
5
by: Brian Henry | last post by:
Hello, I want to make a control that has a scrollable Gantt type display (not really one but will look similar to one) this is going to be custom drawn (i already have the drawing procedure...
2
by: Ben H | last post by:
Hello all I'm using a listview in my app but I want to scroll the listview programatically as I hate the look of the standard scrollbar. So, the listview is scrolled programatically using...
0
by: avanti | last post by:
HI, I have an app that has a form with scrollable controls. So, I cannot make a bitmap from the printscreen and print it since all the content and controls are not visible at the same time. ...
0
by: LonelyRanger | last post by:
Hi Everyone, Thanks for your time. My question is based on VB.NET, pictureboxes and a scrollablecontrol. I have several pictureboxes inside a scrollable control. The scrollablecontrol is...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.