Custom Gadgets

Share your advanced PureBasic knowledge/code with the community.
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Custom Gadgets

Post by collectordave »

Hi

I am developing a custom gadget template in another thread on the forum.

To take it further and to check it's operation I am now creating some custom gadgets using the template.

The idea is also to create a single download of any gadgets created this way. Each gadget with it's include file and images together with a small demo project to show usage and a help file in HTML format in each package. HTML is used for the help as all you need to do is navigate to the Help folder and click on the Index.html file and it will open in your browser.

The first control in the package is the OnOffButton created by Stargate.

This package can be downloaded here:-
https://www.dropbox.com/s/b5ahv2v36gmbv ... s.zip?dl=0

I am developing a simple custom grid based around the same principles which will be added when complete.

In the meantime if anyone has any ideas for a custom gadget please post here. I cannot guarantee that it will be developed but at least the idea is registered and if anyone wants to develop their own then of course I am willing to help.

Best Regards

cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Custom Gadgets

Post by Kwai chang caine »

Works great
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
Fred
Administrator
Administrator
Posts: 18243
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Custom Gadgets

Post by Fred »

You should use an account on github it's easier to share code than dropbox, and it's future proof
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: Custom Gadgets

Post by applePi »

thank you very much, this can be used with electrical/electronic circuits demos
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: Custom Gadgets

Post by collectordave »

Thanks for the replies.

I have no idea what github is, will find out and see what I can do.

Regards

cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: Custom Gadgets

Post by collectordave »

Ok

Found github, signed up and hopefully uploaded source files etc for OnOffButton to here?

https://github.com/collectordave/Pure-Basic-Gadgets

Can someone please check to make sure I have done it right?

Ready for the next one.
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: Custom Gadgets

Post by applePi »

yes your github site is okay and i have downloaded the files from it.
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: Custom Gadgets

Post by collectordave »

Thanks

cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
User avatar
blueb
Addict
Addict
Posts: 1116
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: Custom Gadgets

Post by blueb »

Works, but... the download contains all of your projects: Pure-Basic-Gadgets-master.zip
rather than just the OnOffButton. :)
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: Custom Gadgets

Post by collectordave »

Thanks blueb

Sorting it out I think two links now one for my projects and one for custom gadgets.

Projects https://github.com/collectordave/Pure-Basic-Projects

Gadgets https://github.com/collectordave/Custom-Gadgets

Hope that is better!

cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Custom Gadgets

Post by davido »

@collectordave,
Thank you. :D
DE AA EB
Fred
Administrator
Administrator
Posts: 18243
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Custom Gadgets

Post by Fred »

PureBasic is one word, not "Pure-Basic" ;). Thanks for putting it on github it's good
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: Custom Gadgets

Post by collectordave »

No thanks needed but they are appreciated as long as my meagre amateur efforts do not embarrass real PB coders.

I will change Pure-Basic to PureBasic just as soon as I learn how.

Kind Regards

cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Post Reply