on 09-21-2015 11:33 AM
Hello, all
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?
Thank you
Arcady
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UnitsToPixels and PixelsToUnits
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.