Hi,
I just come across this, how can I make a form's height larger than
780 pixels?
Thank you. 22 7080
* liups <Ge*****@Spammers.com> scripsit: I just come across this, how can I make a form's height larger than 780 pixels?
A form cannot be larger than the screen.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Thank you Herfried, but if it is a MDI child form, a user can scroll
it down to see the rest, or if you have a monitor which can do more
than 1024*768, it still makes sense to make a form that large.
I did a form which is 908 pixels in height in VB6, now I'm porting ..
actually re-writing the application in VB.NET, would someone confirm
that if this is a limitation of VB.NET? Is there a work around?
Thank you.
On 01 Feb 2004 16:21:18 +0100, hi***************@gmx.at (Herfried K.
Wagner [MVP]) wrote: * liups <Ge*****@Spammers.com> scripsit: I just come across this, how can I make a form's height larger than 780 pixels?
A form cannot be larger than the screen.
a general design guideline for windows is not to make a form bigger then the
screen, even in MDI. You may want to rework the layout of your form or
implement some tab pages in it.
"liups" <Ge*****@Spammers.com> wrote in message
news:98********************************@4ax.com... Thank you Herfried, but if it is a MDI child form, a user can scroll it down to see the rest, or if you have a monitor which can do more than 1024*768, it still makes sense to make a form that large. I did a form which is 908 pixels in height in VB6, now I'm porting .. actually re-writing the application in VB.NET, would someone confirm that if this is a limitation of VB.NET? Is there a work around? Thank you.
On 01 Feb 2004 16:21:18 +0100, hi***************@gmx.at (Herfried K. Wagner [MVP]) wrote:
* liups <Ge*****@Spammers.com> scripsit: I just come across this, how can I make a form's height larger than 780 pixels?
A form cannot be larger than the screen.
But think of MS Word, its page view, the 'client area', the area a
user can work on, is larger in height than most screens, forget the
guidelines, now I need a form that large.
On Sun, 1 Feb 2004 11:52:06 -0500, "Brian Henry"
<brianiup[nospam]@adelphia.net> wrote: a general design guideline for windows is not to make a form bigger then the screen, even in MDI. You may want to rework the layout of your form or implement some tab pages in it.
* liups <Ge*****@Spammers.com> scripsit: Thank you Herfried, but if it is a MDI child form, a user can scroll it down to see the rest, or if you have a monitor which can do more than 1024*768, it still makes sense to make a form that large. I did a form which is 908 pixels in height in VB6, now I'm porting .. actually re-writing the application in VB.NET, would someone confirm that if this is a limitation of VB.NET? Is there a work around?
Is your form a MDI child form and doesn't it change its size even if the size
is set at runtime?
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Yes, Herfried, it is a MDI child form and it doesn't go any larger
than 780 even I set the size at runtime.
On 01 Feb 2004 18:09:22 +0100, hi***************@gmx.at (Herfried K.
Wagner [MVP]) wrote: * liups <Ge*****@Spammers.com> scripsit: Thank you Herfried, but if it is a MDI child form, a user can scroll it down to see the rest, or if you have a monitor which can do more than 1024*768, it still makes sense to make a form that large. I did a form which is 908 pixels in height in VB6, now I'm porting .. actually re-writing the application in VB.NET, would someone confirm that if this is a limitation of VB.NET? Is there a work around?
Is your form a MDI child form and doesn't it change its size even if the size is set at runtime?
* liups <Ge*****@Spammers.com> scripsit: Yes, Herfried, it is a MDI child form and it doesn't go any larger than 780 even I set the size at runtime.
I have just tested it with VB6: Even there it's not possible to make an
MDI child form larger (in height) than the screen's height. That's a
limitation by the OS.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
* liups <Ge*****@Spammers.com> scripsit: But think of MS Word, its page view, the 'client area', the area a user can work on, is larger in height than most screens, forget the guidelines, now I need a form that large.
That's not an MDI environment and the window isn't really larger. There
are only a couple of scrollbars (or a scrollable panel) on the form (if
we would re-implement it in .NET) and the document is drawn according to
the current state of the scrollbars.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Strange, look at the VB6 code I from the frm file:
VERSION 5.00
Begin VB.Form frmMzBd
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H80000009&
BorderStyle = 1 'Fixed Single
Caption = "ÃÅÕï/±ù¶³"
ClientHeight = 13620
ClientLeft = 300
ClientTop = 1185
ClientWidth = 10095
those numbers are in twips, divide them by 15 you get the pixels, it's
a 673*908 form, I made it in 1999, it's true, and I've been using that
application since then, I certainly can notice the difference when my
new form is 128 pixels short.
On 01 Feb 2004 18:42:37 +0100, hi***************@gmx.at (Herfried K.
Wagner [MVP]) wrote: * liups <Ge*****@Spammers.com> scripsit: Yes, Herfried, it is a MDI child form and it doesn't go any larger than 780 even I set the size at runtime.
I have just tested it with VB6: Even there it's not possible to make an MDI child form larger (in height) than the screen's height. That's a limitation by the OS.
* liups <Ge*****@Spammers.com> scripsit: Strange, look at the VB6 code I from the frm file:
VERSION 5.00 Begin VB.Form frmMzBd Appearance = 0 'Flat AutoRedraw = -1 'True BackColor = &H80000009& BorderStyle = 1 'Fixed Single Caption = "ÃÅÕï/±ù¶³" ClientHeight = 13620 ClientLeft = 300 ClientTop = 1185 ClientWidth = 10095
those numbers are in twips, divide them by 15 you get the pixels, it's a 673*908 form, I made it in 1999, it's true, and I've been using that application since then, I certainly can notice the difference when my new form is 128 pixels short.
I created a blank VB6 project with a MDI parent and one MDI child and
set the MDI child's height to a value larger than the screen's height.
The property stored the correct value, but the form wasn't shown higher
than the screen.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
>I created a blank VB6 project with a MDI parent and one MDI child and set the MDI child's height to a value larger than the screen's height. The property stored the correct value, but the form wasn't shown higher than the screen.
This is a VB.net newsgroup,
For VB6 or other classic VB "Turn" to the vb newsgroups
microsoft.public.vb*
You know it
just for fun
:-)
Cor
>I created a blank VB6 project with a MDI parent and one MDI child and set the MDI child's height to a value larger than the screen's height. The property stored the correct value, but the form wasn't shown higher than the screen.
This is a VB.net newsgroup,
For VB6 or other classic VB "Turn" to the vb newsgroups
microsoft.public.vb*
You know it
just for fun
:-)
Cor
* "Cor" <no*@non.com> scripsit: I created a blank VB6 project with a MDI parent and one MDI child and set the MDI child's height to a value larger than the screen's height. The property stored the correct value, but the form wasn't shown higher than the screen.
This is a VB.net newsgroup, For VB6 or other classic VB "Turn" to the vb newsgroups microsoft.public.vb*
You know it
just for fun
You are right. I'll turn to microsoft.public.de.vb.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
* "Cor" <no*@non.com> scripsit: I created a blank VB6 project with a MDI parent and one MDI child and set the MDI child's height to a value larger than the screen's height. The property stored the correct value, but the form wasn't shown higher than the screen.
This is a VB.net newsgroup, For VB6 or other classic VB "Turn" to the vb newsgroups microsoft.public.vb*
You know it
just for fun
You are right. I'll turn to microsoft.public.de.vb.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Hi Herfried,
No No No No No No
:-))
Cor
Hi Herfried,
No No No No No No
:-))
Cor
Cor,
* "Cor" <no*@non.com> scripsit: No No No No No No
I replied to some posts there...
:-)
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Cor,
* "Cor" <no*@non.com> scripsit: No No No No No No
I replied to some posts there...
:-)
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Thanks for this tip, I think I can solve it with a 'scrollable panel'
on my form.
On 01 Feb 2004 18:43:49 +0100, hi***************@gmx.at (Herfried K.
Wagner [MVP]) wrote: * liups <Ge*****@Spammers.com> scripsit: But think of MS Word, its page view, the 'client area', the area a user can work on, is larger in height than most screens, forget the guidelines, now I need a form that large.
That's not an MDI environment and the window isn't really larger. There are only a couple of scrollbars (or a scrollable panel) on the form (if we would re-implement it in .NET) and the document is drawn according to the current state of the scrollbars.
Finally I found an answer, and a solution for this, check this: http://weblogs.asp.net/jlerman/archi.../19/38681.aspx
On 01 Feb 2004 18:42:37 +0100, hi***************@gmx.at (Herfried K.
Wagner [MVP]) wrote: * liups <Ge*****@Spammers.com> scripsit: Yes, Herfried, it is a MDI child form and it doesn't go any larger than 780 even I set the size at runtime.
I have just tested it with VB6: Even there it's not possible to make an MDI child form larger (in height) than the screen's height. That's a limitation by the OS.
Hi Liups,
Thanks for the feed back.
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: p s |
last post by:
hi
can someone tell me how to ensure the height of my window is always exact?
(excluding titlebar) in VB6
e.g. if i set the form to 300 pixels, then the total height of the form
takes into...
|
by: Thorbjørn Jørgensen |
last post by:
Hi
I have some problems understanding the properties for the scrollbar class.
F.eks. how do I set the Maximum property in comparison to the Height
property if I for example want to have the...
|
by: Xwire |
last post by:
Can anyone explain why when i set the .ClientSize of a form, and then check
the .ClientSize when the resize event fires, it is slightly off, generally
20(varys) pixels in the height but not...
|
by: sam |
last post by:
Do vb.net forms have a maximum height limit of 1212 pixels? I can't seem
to make a form larger than that size, despite the min & max property
values being set to 1 and 2000 respectively....an empty...
|
by: Gerrit |
last post by:
Hi all,
I'm getting an OutOfMemoryException when I initialize a byte array in
C# like this:
Byte test = new Byte;
I'm using ASP.NET 2.0. In ASP.Net 1.1 it works fine. So what am I doing
|
by: MrNobody |
last post by:
I have been struggling with .NET's scrollbars because when I use them I can't
seem to get them to go to their maximum value.
Searching on the web it looks like the maximum Value you can get on...
|
by: mrpeter05 |
last post by:
I can not find a way to measure the height of a string by setting a
maximum width!
I need the strings maximum width to be the width of the screen and
want to use that to calculate the height. Is...
|
by: p.numminen |
last post by:
Is it possible, with CSS, to determine a certain _maximum_ width for a
text, paragraph, division, etc.?
|
by: =?Utf-8?B?U2hhcm9u?= |
last post by:
I'm using the VScrollBar and set it as follow:
m_vScrollBar.Minimum = -19602;
m_vScrollBar.Maximum = 0;
m_vScrollBar.SmallChange = 1;
m_vScrollBar.LargeChange = 1089;
m_vScrollBar.Value =...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
| |