468,248 Members | 1,521 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,248 developers. It's quick & easy.

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 1786
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by andreas | last post: by
reply views Thread by CJ | last post: by
1 post views Thread by jaYPee | last post: by
reply views Thread by Supra | last post: by
6 posts views Thread by Debi | last post: by
2 posts views Thread by Samuel | last post: by
6 posts views Thread by =?Utf-8?B?anAybXNmdA==?= | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.