473,781 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Large Forms

I am having some difficulty in making a form of greater size than the
screen resolution. I have researched the matter and it seems that
creating forms that are larger is simply not possible. I am therefore
using scroll bars to navigate up and down the form. My form has many
similar data entry "areas" each containing the same controls and input
boxes. These appear one after the other vertically on the form, and all
but the first are hidden when the form is loaded. There are 23 in total.
When the user makes a selection that requires further input they are
presented with a further data entry area.

My problem is this: When the previously hidden controls at the bottom of
this large form become visible (this only occours when they are created at
positions greater than the screen resolution) the controls appear at
increasingly large intervals, with open areas of space in between them.
They are adjacent on the form, and I am unsure why they are behaving like
this. Any help would be very much appriciated.

Duncan Gordon

--

Nov 21 '05 #1
4 1401
* Duncan Gordon <D.********@sms .ed.ac.uk> scripsit:
I am having some difficulty in making a form of greater size than the
screen resolution. I have researched the matter and it seems that
creating forms that are larger is simply not possible.
ACK, that's not possible.
using scroll bars to navigate up and down the form. My form has many
similar data entry "areas" each containing the same controls and input
boxes. These appear one after the other vertically on the form, and all
but the first are hidden when the form is loaded. There are 23 in total.
When the user makes a selection that requires further input they are
presented with a further data entry area.


Did you set 'AutoScroll' to 'True' to enable scrollbars on the form, or
did you add your own scrollbars?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2
I turned autoscroll on.

On 19 Aug 2004, Herfried K. Wagner [MVP] wrote:
* Duncan Gordon <D.********@sms .ed.ac.uk> scripsit:
I am having some difficulty in making a form of greater size than the
screen resolution. I have researched the matter and it seems that
creating forms that are larger is simply not possible.


ACK, that's not possible.
using scroll bars to navigate up and down the form. My form has many
similar data entry "areas" each containing the same controls and input
boxes. These appear one after the other vertically on the form, and all
but the first are hidden when the form is loaded. There are 23 in total.
When the user makes a selection that requires further input they are
presented with a further data entry area.


Did you set 'AutoScroll' to 'True' to enable scrollbars on the form, or
did you add your own scrollbars?


--

Nov 21 '05 #3
I have managed to replicate this behaviour extreemely easily in a new
project. I created a form, made it very long and thin and then added 6
large buttons one under the other in a column. I then set buttons 2-6 to
be invisible. I then set the button click sub for buttons 1-5 to make the
i+1 button visible. Finally I set the form's autoscroll attribute to true
and shrunk the form so that only the first button was visible.

The behaviour that I observed was obscure. The buttons increase in
distance from one another as each button is pressed (later buttons having
a larger distance to the following buttons than earlier ones). Does
anyone know what could be accounting for this strange behaviour?

Many Thanks
Duncan Gordon
On Thu, 19 Aug 2004, Duncan Gordon wrote:
I turned autoscroll on.

On 19 Aug 2004, Herfried K. Wagner [MVP] wrote:
* Duncan Gordon <D.********@sms .ed.ac.uk> scripsit:
I am having some difficulty in making a form of greater size than the
screen resolution. I have researched the matter and it seems that
creating forms that are larger is simply not possible.


ACK, that's not possible.
using scroll bars to navigate up and down the form. My form has many
similar data entry "areas" each containing the same controls and input
boxes. These appear one after the other vertically on the form, and all
but the first are hidden when the form is loaded. There are 23 in total.
When the user makes a selection that requires further input they are
presented with a further data entry area.


Did you set 'AutoScroll' to 'True' to enable scrollbars on the form, or
did you add your own scrollbars?



--

Nov 21 '05 #4
Well it's not just you.
I have reproduced the behaviour you are seeing.
However, I do not have an explanation yet.
It certainly seems that the Location property is all out of whack.

Gerald

"Duncan Gordon" <D.********@sms .ed.ac.uk> wrote in message
news:Pi******** *************** *************** @hadrian.inf.ed .ac.uk...
I have managed to replicate this behaviour extreemely easily in a new
project. I created a form, made it very long and thin and then added 6
large buttons one under the other in a column. I then set buttons 2-6 to
be invisible. I then set the button click sub for buttons 1-5 to make the
i+1 button visible. Finally I set the form's autoscroll attribute to true
and shrunk the form so that only the first button was visible.

The behaviour that I observed was obscure. The buttons increase in
distance from one another as each button is pressed (later buttons having
a larger distance to the following buttons than earlier ones). Does
anyone know what could be accounting for this strange behaviour?

Many Thanks
Duncan Gordon
On Thu, 19 Aug 2004, Duncan Gordon wrote:
I turned autoscroll on.

On 19 Aug 2004, Herfried K. Wagner [MVP] wrote:
* Duncan Gordon <D.********@sms .ed.ac.uk> scripsit:
> I am having some difficulty in making a form of greater size than the
> screen resolution. I have researched the matter and it seems that
> creating forms that are larger is simply not possible.

ACK, that's not possible.

> using scroll bars to navigate up and down the form. My form has many
> similar data entry "areas" each containing the same controls and input
> boxes. These appear one after the other vertically on the form, and all
> but the first are hidden when the form is loaded. There are 23 in total. > When the user makes a selection that requires further input they are
> presented with a further data entry area.

Did you set 'AutoScroll' to 'True' to enable scrollbars on the form, or
did you add your own scrollbars?



--

Nov 21 '05 #5

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

Similar topics

1
3479
by: John | last post by:
I'm developing an application for medical use that will be used to capture patient background and visit data. The application will have approximately 50 forms, with an average of about 20 fields each-- so a total of 1000+ fields. Almost always, the fields are unique to a particular form--and it will be pretty unlikely that new forms and fields will be added--although not out of the realm of possibility. There will also be a search...
2
2849
by: Stuart Norris | last post by:
Dear Group, I am new to c# and windows form designer - coming from a Motif background. I am attempting to develop an application for a touch screen and I need to have a menu system with a larger font to allow ease of selection. I have used OwnerDraw menus implementing the DrawItemEventHandler and
1
4013
by: lwickland | last post by:
Summary: System.Net.ScatterGatherBuffers.MemoryChuck allocates inordinately large bytes when sending large post data. The following application consumes inordinate quantities of memory. My code does not explicitly allocate memory in a loop nor does it explicitly allocate large blocks of memory. Yet, the application’s memory footprint will grow as large as 370 MB. Rarely will it run to completion; usually, it throws an out of memory...
12
6191
by: Sharon | last post by:
I’m wrote a small DLL that used the FreeImage.DLL (that can be found at http://www.codeproject.com/bitmap/graphicsuite.asp). I also wrote a small console application in C++ (unmanaged) that uses the DLL above. Now the application, together with the above DLL’s is successfully loading a TIF image file (62992 x 113386 Pixels, Huffman RLE compression, 3200 x 3200 DPI resolution, binary colored (1 Bit Per Pixel), file on disk size 43.08...
1
2176
by: Tim Frawley | last post by:
I have a large form with many controls, almost like legal size paper in height. Just so I can head these off, I am not looking for suggestions to the effect of using Tab controls, multi-window or multi-page forms. The Forms AutoScroll property is set to true so the user can scroll the window. What I would like to do is scroll the form for the user. I have explored the possibility of Me.ScrollControlIntoView(control further
8
2002
by: Robert Bravery | last post by:
Hi al,, New to VB.net. What methods should I use in ordewr to create a small exe application that can call other libraries. I am in the process of creating a rather large application, I don't want to end up, when I compile and build the application to have a exe 5.6mb big Any help pointing me in the right direction Thanks Robert
6
1972
by: MLH | last post by:
I have a query (SQL below) that operates on values entered by users into an unbound form to append a record to tblAdmin. I do not under- stand the basis for the error. There are some 17 or so data entry fields on the form housing perhaps 600-700 characters between the lot of them. Why might Access 97 need to err on such a simple operation? SQL: INSERT INTO tblAdmin (TowCompany, TowCoAddr, TowCoCity, TowCoState, TowCoZip, TowCoCounty,...
2
3792
by: ARC | last post by:
Just curious if anyone is having issues with Acc 2007 once the number of objects and complexity increases? I have a fairly large app, with many linked tables, 100's of forms, queries, reports, and lots of vba code. I'm nearly finished with re-doing my app in access 2007, and just imported an add-in program, which has added even more forms, queries and linked tables. Every so often now, after opening many different screens, I'll...
25
20567
by: tekctrl | last post by:
Anyone: I have a simple MSAccess DB which was created from an old ASCII flatfile. It works fine except for something that just started happening. I'll enter info in a record, save the record, and try to move to another record and get an Access error "Record is too large". The record is only half filled, with many empty fields. If I remove the added data or delete some older data, then it saves ok and works fine again. Whenever I'm...
0
9474
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
10308
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10143
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...
1
7486
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5375
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...
0
5507
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4040
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
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
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.