I see programs here that use such, but they tend to be quite lengthy and make it hard to understand and follow what is going on.
Is there a simple tutorial that explains the process?
Thanks!
How do you go about using SC's custom windowing and button features
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
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
- admin
- Site Admin
- Posts: 13362
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: How do you go about using SC's custom windowing and button features
Hi,
no real tutorials, although you will find samples that show how to register a custom button fairly easily.
Creating your own Window in SC's python scripting language isn't an easy thing to do. Probably the best approach to get started is to either copy and edit an existing script, or to prototype the window you want in 'Windows Forms' in Microsoft Visual Studio, then once you have something looking roughly right, look at the code behind (Form.Designer.cs) and translate that into python.
cheers,
Robin
no real tutorials, although you will find samples that show how to register a custom button fairly easily.
Creating your own Window in SC's python scripting language isn't an easy thing to do. Probably the best approach to get started is to either copy and edit an existing script, or to prototype the window you want in 'Windows Forms' in Microsoft Visual Studio, then once you have something looking roughly right, look at the code behind (Form.Designer.cs) and translate that into python.
cheers,
Robin
Re: How do you go about using SC's custom windowing and button features
Thanks, Robin. I'll give Visual Studio a try and see what happens.