473,394 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Buttons on MdiForm

Hi,

I added a few buttons to the Mdi form, to call the child forms in the
button click event. But when the child window opens, all the buttons are
displayed in front of the child window. Any idea on how to fix this.

Thanx,
Debi
Jul 21 '05 #1
6 1999
AK
I think I understand what the problem is. I'm not sure if adding the buttons
directly to the mdi parent background is the best way of doing business. Try
adding menu items instead of the buttons.
"Debi" wrote:
Hi,

I added a few buttons to the Mdi form, to call the child forms in the
button click event. But when the child window opens, all the buttons are
displayed in front of the child window. Any idea on how to fix this.

Thanx,
Debi

Jul 21 '05 #2
thanx for the reply, I know about adding menu items. Looking for a way to add
buttons.
If anyone knows how to do this, please reply.

Thanx in advance,
Debi

"AK" wrote:
I think I understand what the problem is. I'm not sure if adding the buttons
directly to the mdi parent background is the best way of doing business. Try
adding menu items instead of the buttons.
"Debi" wrote:
Hi,

I added a few buttons to the Mdi form, to call the child forms in the
button click event. But when the child window opens, all the buttons are
displayed in front of the child window. Any idea on how to fix this.

Thanx,
Debi

Jul 21 '05 #3
Maybe add a panel, then put the button on the panel. Cheap, but effective.
"Debi" <de**@nospam.com> wrote in message
news:C4**********************************@microsof t.com...
| thanx for the reply, I know about adding menu items. Looking for a way to add
| buttons.
| If anyone knows how to do this, please reply.
|
| Thanx in advance,
| Debi
|
| "AK" wrote:
|
| > I think I understand what the problem is. I'm not sure if adding the buttons
| > directly to the mdi parent background is the best way of doing business. Try
| > adding menu items instead of the buttons.
| >
| >
| > "Debi" wrote:
| >
| > > Hi,
| > >
| > > I added a few buttons to the Mdi form, to call the child forms in the
| > > button click event. But when the child window opens, all the buttons are
| > > displayed in front of the child window. Any idea on how to fix this.
| > >
| > > Thanx,
| > > Debi

Jul 21 '05 #4
doesn't work. everything comes to the front. I was thinking there might be
some property that I can tweak.... but no idea, which one..

"Clamps" wrote:
Maybe add a panel, then put the button on the panel. Cheap, but effective.
"Debi" <de**@nospam.com> wrote in message
news:C4**********************************@microsof t.com...
| thanx for the reply, I know about adding menu items. Looking for a way to add
| buttons.
| If anyone knows how to do this, please reply.
|
| Thanx in advance,
| Debi
|
| "AK" wrote:
|
| > I think I understand what the problem is. I'm not sure if adding the buttons
| > directly to the mdi parent background is the best way of doing business. Try
| > adding menu items instead of the buttons.
| >
| >
| > "Debi" wrote:
| >
| > > Hi,
| > >
| > > I added a few buttons to the Mdi form, to call the child forms in the
| > > button click event. But when the child window opens, all the buttons are
| > > displayed in front of the child window. Any idea on how to fix this.
| > >
| > > Thanx,
| > > Debi

Jul 21 '05 #5
got it. Button.SendtoBack()

"Debi" wrote:
doesn't work. everything comes to the front. I was thinking there might be
some property that I can tweak.... but no idea, which one..

"Clamps" wrote:
Maybe add a panel, then put the button on the panel. Cheap, but effective.
"Debi" <de**@nospam.com> wrote in message
news:C4**********************************@microsof t.com...
| thanx for the reply, I know about adding menu items. Looking for a way to add
| buttons.
| If anyone knows how to do this, please reply.
|
| Thanx in advance,
| Debi
|
| "AK" wrote:
|
| > I think I understand what the problem is. I'm not sure if adding the buttons
| > directly to the mdi parent background is the best way of doing business. Try
| > adding menu items instead of the buttons.
| >
| >
| > "Debi" wrote:
| >
| > > Hi,
| > >
| > > I added a few buttons to the Mdi form, to call the child forms in the
| > > button click event. But when the child window opens, all the buttons are
| > > displayed in front of the child window. Any idea on how to fix this.
| > >
| > > Thanx,
| > > Debi

Jul 21 '05 #6
Hi there,

How do you show the buttons again when the child form is closed?

Brindley

"Debi" wrote:
got it. Button.SendtoBack()

"Debi" wrote:
doesn't work. everything comes to the front. I was thinking there might be
some property that I can tweak.... but no idea, which one..

"Clamps" wrote:
Maybe add a panel, then put the button on the panel. Cheap, but effective.
"Debi" <de**@nospam.com> wrote in message
news:C4**********************************@microsof t.com...
| thanx for the reply, I know about adding menu items. Looking for a way to add
| buttons.
| If anyone knows how to do this, please reply.
|
| Thanx in advance,
| Debi
|
| "AK" wrote:
|
| > I think I understand what the problem is. I'm not sure if adding the buttons
| > directly to the mdi parent background is the best way of doing business. Try
| > adding menu items instead of the buttons.
| >
| >
| > "Debi" wrote:
| >
| > > Hi,
| > >
| > > I added a few buttons to the Mdi form, to call the child forms in the
| > > button click event. But when the child window opens, all the buttons are
| > > displayed in front of the child window. Any idea on how to fix this.
| > >
| > > Thanx,
| > > Debi

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: andreas | last post by:
I have a program with a mdiform and same childforms (with a textbox) that i open. All works fine. In the childform i open another form (for finding and replacing). In a sub in that form i try to...
0
by: CJ | last post by:
I have a mdiform that has a toolbar and a status bar on it. When I load a child form both controls appear over the child thus obscuring the top and bottom of the child form. It appears that the...
1
by: jaYPee | last post by:
I have an MDIForm and two child form. My problem is when I open the first child form the windows state is normal and then open the 2nd child form from this child form. When the 2nd child form is...
2
by: Ben | last post by:
after I migrated to dotNet, code wizard never bothered upgraded my MDIform background embedded pictures b/c MS is no longer providing us with that feature. Is there an alternative solution that...
0
by: Supra | last post by:
how do i put mdiform in block? Public Shared Sub Show(ByVal frm As Form) Dim obj As Object Dim bFound As Boolean = False For Each obj In m_colFormsCollection Dim frmCurrent As Form frmCurrent...
6
by: Debi | last post by:
Hi, I added a few buttons to the Mdi form, to call the child forms in the button click event. But when the child window opens, all the buttons are displayed in front of the child window. Any...
2
by: Samuel | last post by:
Hi I want to show certain toolbar buttons only when a one type of MDI Child form is active What method can be used to achieve that and what events need to be used? Samuel Shulman SBS...
2
by: ksharma | last post by:
Hi, I m new in c#, windows application. I have created a MDIForm, ChildForms named (Form1, Form2, Form3, ..........). Each child form contains the function : public void...
6
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
What would cause VS2005 Pro to lose all of my MdiForm Design information? I've been working on one of the Child Forms and having problems with the Child Form's threads not completing (locking up...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
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...
0
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...
0
marktang
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,...
0
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...
0
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.