General information
Category:
Forms & Form designer
Hi
IMO, this is normal. You cannot bring one parent window in front of an active child window. I believe this is standard.
If you want something like this, set both forms ShowWindow = 2, will work.
>Hi All,
>
>I have a main As-Top-Level-Form, modeless and Desktop=True.
>Another form (called from the main form's menu) is an In-Top-Level-Form, modeless and Desktop=True.
>When the user has both open and clicks on the main form, it gets the focus, but it won't come on top!
>
>I've tried all suggestions here mentioned and seemingly related, like:
>- GetActivewindow()
>- GetForegroundWindow()
>- activate window (thisform.name) top
>- AlwaysOnTop
>None of them appears to help.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only