Home > Software engineering >  Vb.net how to non-modal window display in front of the father image
Vb.net how to non-modal window display in front of the father image

Time:11-09

Customer request child window with non-modal and let this non-modal window display in front of the father image, cannot use the TOPMOST attributes, only let non-modal window display in front of the father image, this how to achieve, for the great god help solve

CodePudding user response:

To the former, and can't TopMost trough from the don't spit,
Both Dim FRM As Form=New Form2
 () 
FRM the TopLevel=False
FRM. Parent=Me
FRM. BackColor=Color. Green
FRM. WindowState=FormWindowState. Maximized
FRM. Visible=True

CodePudding user response:

Form1. Show parameters 1, 2

The first omitted, the second ME
  • Related