Controlling the location of a .NET form from PB Classic script
I have a .NET form, which is supposed to be opened in ShowDialog function from a PB classic window.
I need to specify the Left and Top position of the form based on the PB window location on a screen.
Let's say I know exactly the left and top offset of the .NET form on the window in PB Units. How do I translate these values into something .NET can understand?
Is the a built-in function for converting units into pixels?