Hi,
I'm looking for a possibility to reliably convert an in-screen form's coordinates (Left, Top, Height) to coordinates I can use to put a Top-Level form at exactly the same place and make it the same height as the form that is being displayed in screen.
I already tried things like ...
TLForm.Top = _VFP.Top - _VFP.Height - _SCREEN.Height
... but one or more toolbars might docked anywhere.
I know that I could use several SYSMETRIC() parameters to find out the height of the menu bar and _screen border etc., loop through the forms collection to find all toolbars and so on. Maybe there's a better (and easier) solution for this?
Regards,
Armin