Q: Parent of a form

  • Thread starter Thread starter Geoff Jones
  • Start date Start date
Larry Serflaten said:
Me.StartPosition = FormStartPosition.Manual
Me.Location = Point.op_Addition(Parent.Location, center)
Me.TopMost = True
Me.Show()


Or, as Marco suggested, you could get the functionality he mentioned
substituting the TopMost line with this:

' Me.TopMost = True
Parent.AddOwnedForm(Me)

LFS
 
Geoff,

The missing points in my message are given by Marco, the way to do it is in
my opinion the same as in my message, however the reference method is
better. However, more important, the lack in my anser is that it can become
behind the owner. I knew this (had readed this before) however it did not
reach my front partition.

Cor
 
Many thanks Larry, it worked a treat!

Geoff

Larry Serflaten said:
Or, as Marco suggested, you could get the functionality he mentioned
substituting the TopMost line with this:

' Me.TopMost = True
Parent.AddOwnedForm(Me)

LFS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top