When I set the Size property on the VB.NET form properties pane to a
size of 800, 1200 the 1200 always resets back to 1036? Why is that?
When I open a child form in the MDI parent the only way the MDI
displays scroll bars if if the child form is not maximized and is
moved over the edge of the MDI. Is there a way to turn those scroll
bars on when the child form is maximized? 5 11953
"Tim Frawley" <ti*********@fi shgame.state.ak .us> schrieb When I set the Size property on the VB.NET form properties pane to a size of 800, 1200 the 1200 always resets back to 1036? Why is that?
The client rectangle of a window mustn't be bigger than the screen.
When I open a child form in the MDI parent the only way the MDI displays scroll bars if if the child form is not maximized and is moved over the edge of the MDI. Is there a way to turn those scroll bars on when the child form is maximized?
Why? If it is maximized, the whole child is visible. There's nothing to
scroll.
--
Armin
Hello,
"Tim Frawley" <ti*********@fi shgame.state.ak .us> schrieb: When I set the Size property on the VB.NET form properties pane to a size of 800, 1200 the 1200 always resets back to 1036? Why is that?
Forms cannot be bigger than the screen,
When I open a child form in the MDI parent the only way the MDI displays scroll bars if if the child form is not maximized and is moved over the edge of the MDI. Is there a way to turn those scroll bars on when the child form is maximized?
For me, this seems to be a bug. I don't know a way to turn the scrollbars
on.
Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET http://www.mvps.org/dotnet
Hello,
"Armin Zingler" <az*******@free net.de> schrieb: When I open a child form in the MDI parent the only way the MDI displays scroll bars if if the child form is not maximized and is moved over the edge of the MDI. Is there a way to turn those scroll bars on when the child form is maximized?
Why? If it is maximized, the whole child is visible. There's nothing to scroll.
If the MDI container is not maximized and the child is maximized, parts of
the child may not be visible (some of the controls). No scrollbars are
shown.
Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET http://www.mvps.org/dotnet
"Herfried K. Wagner" <aon.912666908. N.O.S.P.@.M.aon .at> schrieb Hello,
"Armin Zingler" <az*******@free net.de> schrieb: When I open a child form in the MDI parent the only way the MDI displays scroll bars if if the child form is not maximized and is moved over the edge of the MDI. Is there a way to turn those scroll bars on when the child form is maximized?
Why? If it is maximized, the whole child is visible. There's nothing to scroll.
If the MDI container is not maximized and the child is maximized, parts of the child may not be visible (some of the controls). No scrollbars are shown.
??
These are the scrollbars for the MDI child because some controls are not
visible, but IMO he was talking about the scrollbars of the MDI parent. The
latter is only shown whenever parts of the child are not visible. That's not
the case when it is maximized.
--
Armin
"Tim Frawley" <ti*********@fi shgame.state.ak .us> wrote in message
news:bf******** *************** **@posting.goog le.com... When I set the Size property on the VB.NET form properties pane to a size of 800, 1200 the 1200 always resets back to 1036? Why is that?
When I open a child form in the MDI parent the only way the MDI displays scroll bars if if the child form is not maximized and is moved over the edge of the MDI. Is there a way to turn those scroll bars on when the child form is maximized?
There is probably a Style bit you can set to accomplish this. But understand
this: even if the scroll bars are visible, there will be nothing to scroll.
If you are trying to scroll the child form, why don't you turn on the
scrollable propertys (AllowScroll, AutoScroll, AutoScrollMargi n etc...) of
the child?
The MDI parent cares nothing about the child's controls, it only cares about
the child window- that is, if the child controls are hidden, the MDI parent
wont scroll the contents of the child.
HTH,
Jeremy This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Merlin_1102 |
last post by:
I have read previous posts on the gridbaglayout and none seem to answer my
questions (sorry if any of these have been aske dI really did search and
found one large thread which took me an hour to read..
Anyway my problem is as such i need to make something like a simcity game
(not quite though). Bassically I need a grid in which labels (using the
image icon command) can be disbladed. This grid needs to be resizable ie it
could go from...
|
by: Mike D. |
last post by:
I have just installed VS.NET 2003 and the first thing I
get is a problem. I started a new C# WinForms project and
the form I get has a fixed designer surface that I have
not been able to increase. I can change the size of the
form, but the design surface stays as about 300px by
300px. I can tell when I load in sample apps that these
other people do not have this problem.
How can I get the design surface to a usable size?
Thanks
|
by: Shabeer |
last post by:
Hi,
Is there any method to prevent the auto scrolling of MDI container form?
Autoscroll is not working.
Regards
Shabeer
|
by: Coy Howe |
last post by:
I have subforms that we enter information into and are linked to the
main form by a customer ID #. I have noticed you can use a mouse roller
and scroll onto a blank subform. If any information is entered on the
new subform, it creates errors and a lot of problems. Is there anyway
to prevent scrolling onto that blank subform. I have also noticed you
can tab onto it if you go from the last tabstop.
*** Sent via Developersdex...
|
by: Bernie Yaeger |
last post by:
I have a child form that has autoscroll set to true. However, when the mdi
parent is maximized and the child form is maximized, no scroll bars appear,
even though there is more controls and data below the visible area. Is
there a way to scroll the child form and/or the mdi parent when both are
maximized?
Thanks for any help.
Bernie Yaeger
| |
by: Saso Zagoranski |
last post by:
Hi,
I've developed a Winforms application for a few people. It's a very
basic Form with a few textboxes, comboboxes, buttons, labels and one
PictureView.
With 1024x768 screen resolution the all controls fit perfectly on the screen
(all
of them are visible).
|
by: atif |
last post by:
Hi,
As i have already post the question.. if any one can tell me how to
handle the scrolling of form manually. because when i use its autoscroll
property to true then scrolling of form is too fast..
Thanx in Advance
Regards
___
Atif
|
by: afr0ninja |
last post by:
Hello! I'm currently working on a form that has several input fields
and a subform. What I'm trying to accomplish is that when I first open
the form I'd like to have the input fields displayed only. The fields
are about 3" wide. Then I'd like to have a command button that when
pushed it would expand the form to about 9" displaying the subform
along with the input fields. The command button could then be pressed
again to shrink the...
|
by: anandansv |
last post by:
I wrote a form in ASP.net 2.0 when ever i create a popup window the all the controls font size in the form is move to the next size
please help me
anand
|
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: 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,...
| |
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: 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.
| |
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...
| |