I'm building a MDI application that has child forms. I'm trying to find a
way to hide the inner boarder of the child frame area. Setting the
FormBoarderStyl e of the child form has no effect.
Also, when the parent form's FormBoarderStyl e is set to nothing, then the
child form is maximized, I get the minimize and maximize buttons at the top
of the parent from even though the boarder style is set to none for both
forms. How do I prevent this? How do I disable the minimize and maximize
buttons of the child form?
thanks
Paul 3 8392
"Paul Welter" <lo******@msdn. nospam.com> schrieb I'm building a MDI application that has child forms. I'm trying to find a way to hide the inner boarder of the child frame area. Setting the FormBoarderStyl e of the child form has no effect.
Also, when the parent form's FormBoarderStyl e is set to nothing, then the child form is maximized, I get the minimize and maximize buttons at the top of the parent from even though the boarder style is set to none for both forms. How do I prevent this? How do I disable the minimize and maximize buttons of the child form?
MDI child windows always have a sizable border, a max and min button and a
controlbox. Otherwise they weren't MDI child windows.
--
Armin http://www.plig.net/nnq/nquote.html
Hi,
Set the following properties to Child Form for ur
requirement.
Me.FormBorderSt yle =
System.Windows. Forms.FormBorde rStyle.None
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.ControlBox = False
Me.WindowState =
System.Windows. Forms.FormWindo wState.Maximize d
Regards,
Amal -----Original Message----- I'm building a MDI application that has child forms. I'm
trying to find away to hide the inner boarder of the child frame area.
Setting theFormBoarderSty le of the child form has no effect.
Also, when the parent form's FormBoarderStyl e is set to
nothing, then thechild form is maximized, I get the minimize and maximize
buttons at the topof the parent from even though the boarder style is set
to none for bothforms. How do I prevent this? How do I disable the
minimize and maximizebuttons of the child form?
thanks Paul
.
Hi Paul,
Thanks for you posting in the group!
Do you have tried Amal's solution yet?
I think it is just what you want except for the System.Windows. Forms
redundancy.
If you have more concerns on this topic, please feel free to reply this
message.
Best regards,
Gary Chang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Manoj |
last post by:
Hi All,
We have an VB.net application which has 31 projects in one solution.In this
we want to disable the Maximize and minimize buttons of the child forms as
they load in the main MDI.We have been unable to do this.The methods tried
include :
1. Passing the MinimixeBox = False bit of code in the child form load method
2. Removing the control from design view.In the properties window
3. Passing MinimixeBox = False bit of code it in the...
|
by: Lyn |
last post by:
This one is driving me crazy. I have a table which stores pictures in an
OLE Object column, one per record with a few other text fields (caption,
date, etc).
This table is maintained with a form to which the fields of the table are
bound. When the form opens, focus is set in the Bound Object Frame
(olePhoto). At this stage of development, I am simply pasting bitmap
pictures into the frame and saving them.
The problem arises when I...
|
by: Lauren Quantrell |
last post by:
I use the code below to hide the MS Access Close button and the
minimize and maximize buttons.
What I want to do is to hide the close button but not the min/max
buttons.
Is this possible?
lq
|
by: Bernie Yaeger |
last post by:
I'm opening an mdi child form maximized. I've set the controlbox to false,
the maximize button to false, the minimize button to false. Nevertheless,
when the child form opens, it has a minimize, maximize and mid size (don't
know what to call it) button - however, neither the maximize or minimize
buttons work - but the mid zise does! How can I turn it off?
Thanks for any help.
Bernie Yaeger
|
by: Jason |
last post by:
I have one MDI Child form for a MDI Parent form. I want
the MDI Child form to not have a control box for
minimizing and and closing the form. I set the control
box property of the child to false. When I run the form,
the minimize and and restore buttons are enabled, but the
close button is disabled. Why is that? How can I just
show the MDI Child form so that the minimize, restore and
close buttons do not show?
Thanks
| |
by: Bill |
last post by:
Hi
I have a parent child forms. I want the close, maximize, and minimize
buttons to be removed.
One the child form I have set the maximize and minimize buttons to false. I
have the child form mamiximze in the parent form. So then the maximized
button is still active. But I want the child form to fill the parent form
without the ability to close minimize or maximize the form like a default
page.
|
by: Daniel R. Rossnagel |
last post by:
As I can hide the bar of I title of a window daughter maximized within form
MDI Already I have proven with different types from borders, hiding
thebuttons to maximize, to diminish and control box, but nothing... If
somebody can help me I'm thanked
Daniel R. Rossnagel
|
by: jj |
last post by:
I have a single threaded application in c# that scans through a file system.
While doing this if I try to minimize, maximize buttons on the top,right
hand corner of my form do not do as they are supposed to do. To maximize the
window I have to go to "task manager" and double click the application.
How do I control those maximize, minimize buttons on the top right section
of my form?
A learner here
|
by: psbasha |
last post by:
I would like to create a Parent and Child Dialog in Tkinter.
Parent Dialog will be having have the Combo Box with Geometry Selection
Parent Dialog :
-------------------
- Point
- Line
- Circle
- Helix
|
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: 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: 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: 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: 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: 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...
| | |