Can anyone tell me if this is a confimed bug and if there is a workaround:
- Create an form set as an mdi container
- Add a Menustrip to mdi container and set form's MainMenuStrip property to
newly created menu
- Create mdi child form and set it's window state to Maximized
When you run the project and open the child form, the menus are merged
properly, but the form appears the same size as it does at design time
(rather than maximized) and the child form's maximize button appears to be in
the restore state.
Click to restore, and you're back to a correct state. click again and form
is maximized properly.
Any ideas?
I have a demo project built to demonstrate.
Thanks
joe 3 2218
Forgot to mention, after all this, if you set mdi parent form's MainMenuStrip
property back to (none), then child form maximizes correctly when opened.
Thanks
joe
"Joe" wrote:
Can anyone tell me if this is a confimed bug and if there is a workaround:
- Create an form set as an mdi container
- Add a Menustrip to mdi container and set form's MainMenuStrip property to
newly created menu
- Create mdi child form and set it's window state to Maximized
When you run the project and open the child form, the menus are merged
properly, but the form appears the same size as it does at design time
(rather than maximized) and the child form's maximize button appears to be in
the restore state.
Click to restore, and you're back to a correct state. click again and form
is maximized properly.
Any ideas?
I have a demo project built to demonstrate.
Thanks
joe
Your child form has no menu and or tool strips?. I tried , it seemed to work
ok. Can I have the demo project?
VJ
"Joe" <joe.klecha-AT-digeratisolutio ns-DOT-netwrote in message
news:71******** *************** ***********@mic rosoft.com...
Can anyone tell me if this is a confimed bug and if there is a workaround:
- Create an form set as an mdi container
- Add a Menustrip to mdi container and set form's MainMenuStrip property
to
newly created menu
- Create mdi child form and set it's window state to Maximized
When you run the project and open the child form, the menus are merged
properly, but the form appears the same size as it does at design time
(rather than maximized) and the child form's maximize button appears to be
in
the restore state.
Click to restore, and you're back to a correct state. click again and
form
is maximized properly.
Any ideas?
I have a demo project built to demonstrate.
Thanks
joe
i am having this same issue you mentioned.
did you ever figure it out? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Omar Llanos |
last post by:
I have Form1 and Form2 (which is inherited from Form1), and I created a
button in Form2 that will fill up a textbox in Form1. What code would do
that?
I tried the simplest way:
//from child form in button2 clicked event:
textbox1.Text = "Hello";
|
by: Sean Connery |
last post by:
I know I can merge a child forms menu into the MDI parent's mainmenu, but I
would also like to listen for common events fired from the mainmenu that
might be of interest to any child forms.
Is this possible?
|
by: PK |
last post by:
Hi,
I've a MDI form and a child form that comes from a dll. Everything works
fine until I had to uncheck or check a menu item in the MDI form based on
the changes in the child form. How to acheive this ? How can a child form
(that is in dll) access a menuitem in the main form ?
Pl. help.
|
by: Maheshkumar.R |
last post by:
Hi groups,
How i can command over the MDI CHIlD forms created dynamically at runtime from PARENT.
Let say, i have generated 5 mdichild forms, but i want to work with child form1 from MDI parent menu functions. if i select draw line in MDI parent, the line should be drawn in current active child..any URLS for this or guide me to achieve this communication...
--
Mähésh Kumär. R
|
by: Piotr Rendaszka |
last post by:
Hi,
I do have this problem: While having an open MDI Parent form I am opening
one MDI Child form that I am maximizing. The next child I open (even an
instance of different MDI Child form) is maximized automatically. Even
though it is set to normal in the properties menu. Do you have any idea how
to avoid opening MDI children at the maximized state???
Any help most appreciated!
| |
by: Steve Barnett |
last post by:
I've created a simple MDI application and have designated the Window menu to
keep track of the mdi children. When I first load an mdi child, it's caption
consists of "File: no file loaded" and this is what appears on the Window
menu.
Now, after the mdi child loads, I call a method to load a specifically named
file. At this point, the child changes it's caption to reflect the new file
name. Unfortunately, the Window menu does not update...
|
by: Martin |
last post by:
VB2005 / XP SP2
Hi all,
I'm just a newbie in VB.Net and I created an MDI container form, with a menu
and when I choose something from the menu, it should load the MDI child form
maximized.
To achieve this I set the WindowState property of the child to 'Maximized'
and use the following code to display the form:
|
by: Martin |
last post by:
A while ago I posted a question on how to load MDI child forms maximized
(WindowState=Maximized). When I do this they always load in a sort of
in-between state and only when I resize the MDI container they take their
proper state.
Did anyone manage to do this in VB2005? If so, I'd love to hear how....
Tia,
Martin
|
by: Tom |
last post by:
I am having a serious issue with my MDI child windows. This is with a
large VB.NET application that I ported over to VS 2005 from VS 2003.
The problem is that, if the child window is maximized and then closed,
it produces the following error message:
Cannot access a disposed object
Object name:'icon' in source System.Drawing
And then the whole system crashes. Again, this ONLY occurs if the MDI
child window is maximized within the MDI...
|
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:
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: 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...
|
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.
| |
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...
| |