How do you go about using SC's custom windowing and button features

Somewhere to ask questions about the best way to use SharpCap
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
Post Reply
tmnathe
Posts: 21
Joined: Fri Jul 29, 2022 4:13 am

How do you go about using SC's custom windowing and button features

#1

Post by tmnathe »

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!
User avatar
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

#2

Post by admin »

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
tmnathe
Posts: 21
Joined: Fri Jul 29, 2022 4:13 am

Re: How do you go about using SC's custom windowing and button features

#3

Post by tmnathe »

Thanks, Robin. I'll give Visual Studio a try and see what happens.
Post Reply