473,396 Members | 1,767 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,396 software developers and data experts.

Problem setting Form.height above 1000px on displays with 1024x768 (.Net framework 1.1)

Hi All

I am are experiencing difficulties setting Windows.Form heights above
around 1000px on screens with the resolution set to 1024x768.
The form is simply cut off and a scrollbar is set.
The form is inside a mainform and consists of a tabpage-control -
these tabbed pages should be shown in full length/height and not set
scrollable - the mainform should scroll down to view the tabbed pages!

There is no problem in bigger resolutions, but on the target laptop it
is not satisfactory.
Here you get an outer scrollbar + an inner scrollbar for the tabbed
page :o(

Any help greatly appreciated.

Best regards

Mikkel Faarup
Consultant
Cap Gemini Denmark
Nov 15 '05 #1
2 3259
If you want to disable the automatic scroll-bars, set AutoScroll to false.
But why would you want to have such a big window... Big windows are not
very portable.

- VJ
"Mikkel Faarup" <mi***********@capgemini.dk> wrote in message
news:75**************************@posting.google.c om...
Hi All

I am are experiencing difficulties setting Windows.Form heights above
around 1000px on screens with the resolution set to 1024x768.
The form is simply cut off and a scrollbar is set.
The form is inside a mainform and consists of a tabpage-control -
these tabbed pages should be shown in full length/height and not set
scrollable - the mainform should scroll down to view the tabbed pages!

There is no problem in bigger resolutions, but on the target laptop it
is not satisfactory.
Here you get an outer scrollbar + an inner scrollbar for the tabbed
page :o(

Any help greatly appreciated.

Best regards

Mikkel Faarup
Consultant
Cap Gemini Denmark

Nov 15 '05 #2
I assume this is during Design Time.

Although not recommended, I'd suggest you open up the Code view and look
under "InitializeComponent ()" method. Look for the tab page control (say,
tabControl1) and set its size manually - "this.tabControl1.Size = new Size
(400, 1000);"

This way, you work around designer's limitation.

If it's during run time, you can set the size in the constructor of the form
(after InitializeComponent ()) call.
"Mikkel Faarup" <mi***********@capgemini.dk> wrote in message
news:75**************************@posting.google.c om...
Sorry for the bad explanation... and thanx for answering.

I want a small outer-window with the ability to browse/scroll a larger
form inside.
This inner document form is limited to around 1000px and therefor
requires its own scrollbar - resulting in 2 scrollbars...

The inner form is a tabbed page control.

Any ideas?

Br
Mikkel

Nov 15 '05 #3

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

Similar topics

1
by: Ron Bott | last post by:
I have a layout that has a fixed size #container <div> with a shadow running along the right side that encloses the content area. I would like the shadow background to extend to the full height of...
3
by: Tony T | last post by:
I'd really appreciate some help on this one. I've put up a sample page here http://rnetworks2002.users.btopenworld.com/iebug/review.html and the stylesheet's here...
2
by: CMEDIA_SOUND | last post by:
I have a peculiar problem, I have a tabpage with a label control on it. When i set a background image to the tabpage and drag the label around it has paint issues in that it is slow, granted the...
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
2
by: kmercer46 | last post by:
I'm building a application but it only work well on display setting 1024x768. I want to change display setting of monitor when form load from 800x600 (if display setting monitor of user is 800x600)...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
2
by: Mike Chamberlain | last post by:
Hello! I'm using .NET 2.0, Windows Forms and VS2005 to develop a full-screen touch-screen application. It all looks great on two different development machines (both WinXP Pro, latest service...
1
by: daniel_xi | last post by:
Hi all, I am running a VS 2003 .NET project on my client machine (Win 2000 SP4, ..NET framework 1.1), running an ASP.NET application on a remote web server (Win 2000 Server, IIS 6.0, .NET...
2
by: sorobor | last post by:
dear sir .. i am using cakephp freamwork ..By the way i m begener in php and javascript .. My probs r bellow I made a javascript calender ..there is a close button ..when i press close button...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.