473,386 Members | 1,715 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,386 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 1998
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
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...

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.