Home > database >  How to have control of the window by clicking on the menu in the pop up another window
How to have control of the window by clicking on the menu in the pop up another window

Time:09-26

Now I have two Windows, one is a menu of the main window w_main), another is the need to bring up a child window (w_test),
Now the problem is w_main (mdihelp! Have other controls window, I write in the menu script opensheet (w_test1, w_main, 1, the original!
But when debugging w_test (main) play not to come out,
When no other controls w_main can pop-up w_test
Excuse me how has control in a window through the menu pop up another window?

CodePudding user response:

Sheet is displayed in the main window of mdi_1, if the main window has controls need to adjust the position mdi_1 is blocked by control,
Such as
Mdi_1. X=100
Mdi, y=100
Mdi_1. Width=2000
Mdi_1. Height=2000

CodePudding user response:

reference 1st floor pcwe2002 response:
of mdi_1 sheet is displayed in the main window, if the main window has controls need to adjust the position mdi_1 is blocked by control,
Such as
Mdi_1. X=100
Mdi, y=100
Mdi_1. Width=2000
Mdi_1. Height=2000


Can't ~ you tried? I tried or not

CodePudding user response:

1st floor way is right, but not put his code, it is ok to

With a focus on the client area not within other controls




The building Lord by mdi_1. Move (x, y)
Mdi_1. Resize (width, height)

Such as the mdi (above the blue box) to control overlap
  • Related