I have an MDI form that has 4 child forms that are locked on top of any
other child form in the MDI. I want to unlock these 4 forms so they are
not always on top of all the other forms in the MDI. When I set
ChildForm1.TopM ost = false;
It does nothing. Is there another another property I should be looking
at?
Thanks! 4 4828
Hi,
How did you "lock" child forms?
Normally, you would just call the Activate method on the child Form that you
want displayed (or ActivateMdiChil d on the MDI parent).
--
Dave Sexton http://davesexton.com/blog
<Ma*********@gm ail.comwrote in message
news:11******** *************@v 45g2000cwv.goog legroups.com...
>I have an MDI form that has 4 child forms that are locked on top of any
other child form in the MDI. I want to unlock these 4 forms so they are
not always on top of all the other forms in the MDI. When I set
ChildForm1.TopM ost = false;
It does nothing. Is there another another property I should be looking
at?
Thanks!
Thats a good question. I did not "lock" them. I am supporting someone
else's program...
I am trying to determine what is forcing these 4 windows to be on top
no matter what I do. I thought if I set the TopMost value to false(it
was previously set to true) it would take care of the problem but it
didn't. So I am trying to find out if there is another property of the
Forms that can be adjusted. Is there another way to force the forms to
be on top?
Thanks,
Mandragon
Dave Sexton wrote:
Hi,
How did you "lock" child forms?
Normally, you would just call the Activate method on the child Form that you
want displayed (or ActivateMdiChil d on the MDI parent).
--
Dave Sexton http://davesexton.com/blog
<Ma*********@gm ail.comwrote in message
news:11******** *************@v 45g2000cwv.goog legroups.com...
I have an MDI form that has 4 child forms that are locked on top of any
other child form in the MDI. I want to unlock these 4 forms so they are
not always on top of all the other forms in the MDI. When I set
ChildForm1.TopM ost = false;
It does nothing. Is there another another property I should be looking
at?
Thanks!
Hi,
Not that I'm aware of. Have you tried calling the Activate method on a
visible, MDI child form that isn't one of the four top-most to see if it
shows up?
--
Dave Sexton http://davesexton.com/blog
<Ma*********@gm ail.comwrote in message
news:11******** *************@3 8g2000cwa.googl egroups.com...
Thats a good question. I did not "lock" them. I am supporting someone
else's program...
I am trying to determine what is forcing these 4 windows to be on top
no matter what I do. I thought if I set the TopMost value to false(it
was previously set to true) it would take care of the problem but it
didn't. So I am trying to find out if there is another property of the
Forms that can be adjusted. Is there another way to force the forms to
be on top?
Thanks,
Mandragon
Dave Sexton wrote:
>Hi,
How did you "lock" child forms?
Normally, you would just call the Activate method on the child Form that you want displayed (or ActivateMdiChil d on the MDI parent).
-- Dave Sexton http://davesexton.com/blog
<Ma*********@g mail.comwrote in message news:11******* **************@ v45g2000cwv.goo glegroups.com.. .
>I have an MDI form that has 4 child forms that are locked on top of any
other child form in the MDI. I want to unlock these 4 forms so they are
not always on top of all the other forms in the MDI. When I set
ChildForm1.TopM ost = false;
It does nothing. Is there another another property I should be looking
at?
Thanks!
I just found out that he is setting the parent with a function in a
..dll. When I set the parent with
form.MdiParent = this;
It works fine. Thanks to anyone who looked at this.
Mandragon
Dave Sexton wrote:
Hi,
Not that I'm aware of. Have you tried calling the Activate method on a
visible, MDI child form that isn't one of the four top-most to see if it
shows up?
--
Dave Sexton http://davesexton.com/blog
<Ma*********@gm ail.comwrote in message
news:11******** *************@3 8g2000cwa.googl egroups.com...
Thats a good question. I did not "lock" them. I am supporting someone
else's program...
I am trying to determine what is forcing these 4 windows to be on top
no matter what I do. I thought if I set the TopMost value to false(it
was previously set to true) it would take care of the problem but it
didn't. So I am trying to find out if there is another property of the
Forms that can be adjusted. Is there another way to force the forms to
be on top?
Thanks,
Mandragon
Dave Sexton wrote:
Hi,
How did you "lock" child forms?
Normally, you would just call the Activate method on the child Form that
you
want displayed (or ActivateMdiChil d on the MDI parent).
--
Dave Sexton http://davesexton.com/blog
<Ma*********@gm ail.comwrote in message
news:11******** *************@v 45g2000cwv.goog legroups.com...
I have an MDI form that has 4 child forms that are locked on top of any
other child form in the MDI. I want to unlock these 4 forms so they are
not always on top of all the other forms in the MDI. When I set
ChildForm1.TopM ost = false;
It does nothing. Is there another another property I should be looking
at?
Thanks!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ayende Rahien |
last post by:
Excetremely annoying problem, I've an application with a long startup time.
So I created another form with my logo in it to as a splash screen.
The splash screen is run from another thread and is communicated solely
through static method and Invoke()'s
However, when I close my second form, the first one (main window) is hiding
under all the windows on the desktop.
If I don't close the splash screen, then everything is fine.
I tried...
|
by: Tamir Khason |
last post by:
Is it possible managed detect that one form inaplicationcontext is above
other ?
--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
|
by: Robert W. |
last post by:
I have a separate thread that handles data transfer operations (with a mobile
device). I've set things up so that a small notification form is displayed
in the lower right corner of the window. This all works fine.
But what I can't figure out how to do is to get it to display on top of my
main form, if the main form is maximized. I've tried all of the following:
statusForm = new frmNotify();
statusForm.Show(); // Display...
|
by: Jonathan |
last post by:
Hi,
I have a parent(container) form which opens another form, and that one opens
another etc.., each form is open with Form.MdiParent = Me.MdiParent. (apart
from the first one which is just "= Me")
However, there is one form which is smaller than others, and i have set it
to Topmost = TRUE.
but the problem is when i click those forms at the background, the smaller
|
by: genojoe |
last post by:
I have a parent form and a child form. Both contain a textbox. Child also
has a button.
I want to open child with the following:
Dim mfrmFind As New frmFind
Private Sub OpenForm
AddHandler mfrmFind.Closing, AddressOf frmFindClosing
mfrmFind.TopMost = True
mfrmFind.Show()
| |
by: Marcus |
last post by:
How do I do it in c#?
My current solution works sometimes, but sometimes the form comes
behind the fullscreen application.
I am using the following in the forms constructor
this.WindowState = FormWindowState.Normal;
this.Focus();
this.BringToFront();
|
by: Mike |
last post by:
Hi,
I'm having a problem with modal forms on windows. I've written a very
short test program, with a main window and a form called from the main
window. The form is set to modal with form.setModal(1) before calling
form.show().
All works as expected on Linux. The form is modal, not allowing the main
window to received the focus. If I call the form from within itself, the
topmost form is modal, and not of the previous forms will...
|
by: Gary Brown |
last post by:
Hi,
I have a dialog box that must behave as MessageBox does
with regard to the TopMost property. It must be TopMost if
and only if the calling form is TopMost. A static method
creates the dialog box. Is there a way of determining if the
application is TopMost from a static method?
There are some inelegant workarounds but I would prefer to
do whatever MessageBox does.
|
by: Steve |
last post by:
Hi All
I have an on-screen keyboard within a POS program I have written in VB.net
2005, for touch screen computers
I have it set to 'always on top' so the user can move the cursor to
different text boxes and type using the on-screen keyboard
The keyboard launches via the mouseclick event for any text box
If another form is launched, with the onscreen keyboard still visible, the
|
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: 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: 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: 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...
| |