Hello Robin,
Thanks for the explanation between the form.ShowDialog(), Application.Run(form) and form.Show().
So I guess that for a simple window, the best is the form.Show().
For the DPI aware mode and your code ... that is too high level for my skills
I did today my first real test of my new script. It was a nice sunny day.
I did first the connection from my EAGLE computer with my laptop.
In this configuration, no problem with the font/button size.
After that, I connect my desktop (with 4K monitor) with the EAGLE ... and here surprise!
The visible window is a mix of the two others ... mean the "+" and "-" are not visible, but all the text are completely readable.
Regards,
Jean-Francois
Scripting Issue post Sharpcap v9094
Forum rules
If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Please also read about Troubleshooting USB Issues before posting.
*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***
Please include the following details in any bug report:
* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Please also read about Troubleshooting USB Issues before posting.
*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***
Please include the following details in any bug report:
* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
-
- Posts: 402
- Joined: Sun Oct 13, 2019 10:52 am
- Location: Germany