473,385 Members | 2,210 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,385 software developers and data experts.

The scroll bar is not appearing in the panel control - Please help me !

Hi All,

I am trying to draw a picture in a panel control. It is drawing up
correctly.

When the picture size is greater than the panel control, I am expecting
horizontal and vertical scroll bars to draw up but for some reason it is not
appearing.

I have set Autoscroll = true and even the margin values for scroll but the
scroll bars are not appearing.

What am I missing? Any suggestions please.

Thanks for your time.

Regards
Anand Ganesh
Nov 15 '05 #1
1 7874
Hi,

Try host a PictureBox control inside the panel. Leave the panel's AutoScroll
property as True, and set the PictureBox's AutoSize property to true. Now,
use the PictureBox and not the Panel to display pictures.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Anand Ganesh" <an**********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi All,

I am trying to draw a picture in a panel control. It is drawing up
correctly.

When the picture size is greater than the panel control, I am expecting
horizontal and vertical scroll bars to draw up but for some reason it is not appearing.

I have set Autoscroll = true and even the margin values for scroll but the
scroll bars are not appearing.

What am I missing? Any suggestions please.

Thanks for your time.

Regards
Anand Ganesh


Nov 15 '05 #2

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

Similar topics

14
by: Open Wound | last post by:
What method can I call to programmatically scroll a panel? There is ScrollControlIntoView() but I don't have a control to scroll into view. I just want the panel to scroll up by 100 pixels. ...
1
by: Tia Carr | last post by:
When I try to place a child control on top of a panel control, the mouse pointer remains as a pointer instead of changing to a cross. I tried both the ShowGrid on/off, doesn't make a difference.....
9
by: Kevin | last post by:
I would like to print the panel control. The panel controls contains images and lables. If i can capture as image i can use it for other purposes like Zooming etcc.. Any body have any idea...
2
by: Nicky Smith | last post by:
Hello, I'm making a kind of toolbar with a non-standard back color and a transparency effect. It looks kind of cool, but not with the ugly grey scrollbar appearing on the panel. I'd like to...
17
by: n. Smith | last post by:
Can anyone help here? I need to scroll a panel in code, because I don't want to display the scroll bar on screen. Any suggestions. N.
0
by: vijaykumarairbee | last post by:
hi, i have panel control with network images pan,routers etc. when i scroll my panel control the images refresh rate is very slow.it means while i scroll the panel images go inside the panel...
0
by: vijaykumarairbee | last post by:
hi, i have panel control with network images pan,routers etc. when i scroll my panel control the images refresh rate is very slow.it means while i scroll the panel images go inside the panel after...
0
by: canteloup | last post by:
Hi, I need to find a way to determinate where a control is on a windows form or panel control. I have a panel contro setted with autoscroll = true and when I move a control contained by it, I need to...
1
by: semomaniz | last post by:
I have a panel set up in a webpage and inside that panel i have various labels and textboxes setup. I am trying to assign a value to the label when the page loads. panel is named cpanel and a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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
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...

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.