Hi,
I just come across this, how can I make a form's height larger than
780 pixels?
Thank you. 22 7131
* liups <Ge*****@Spamme rs.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*****@Spamme rs.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*****@Spamme rs.com> wrote in message
news:98******** *************** *********@4ax.c om... 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*****@Spamme rs.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*****@Spamme rs.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*****@Spamme rs.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*****@Spamme rs.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*****@Spamme rs.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*****@Spamme rs.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. 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 account the title bar, however i want to use a specific
background graphic in the main form background.... visual styles, and themes
and so on make this an impossiblilty! if the title bar is big (a la windows
xp) then i lose some pixels at the bottom,...
|
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 scroller to have half the size of
the scrollbar? If the question is formulated a little weird, an explanation
of the ScrollBar Maximum, Height and Value properties would be great?
Regards
Thorbjorn
|
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 always. I have tried many things to
try to get the clientsize to set properly such as setting autoscale to false
among other things, but the client size will just not set properly. If I
check the client size immediatly after i set it it is correct but...
|
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 form can't seem
to be stretched taller than that value....
|
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 your
scrollbar is actually it's Maxmimum - LargeChange + 1. So when I set my
scrollbar's Maximum to the height of the image I want to scroll, it always
falls short of the bottom LargeChange pixels. Thisis because when I draw the
image I set it's...
|
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 this possible?
|
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 = m_vScrollBar.Maximum;
The scroll bar is set to start from the bottom.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |