By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

Large Forms

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
* 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

P: n/a
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

P: n/a
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

P: n/a
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**************************************@hadr ian.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 discussion thread is closed

Replies have been disabled for this discussion.