Page 4 of 5

Re: Community widgets

Posted: Thu Feb 20, 2020 5:23 pm
by PaulDaMacMan
Great work Herman!
But doesn't MIT-licensed mean it's open source? Or am I confused (again)?
I'd be very interested in seeing some of your LCB code for your awesome widgets!

Re: Community widgets

Posted: Thu Feb 20, 2020 6:00 pm
by [-hh]
But doesn't MIT-licensed mean it's open source?
Where the source code is not included it is commercially licensed (current price $0.00, license: "use at your own risk!").
I'd be very interested in seeing some of your LCB code
With 10 of 13 widgets the source code is included. These sources alltogether contain (in principle) all techniques that are used in the others. Some of the widgets were done accompanying the development of LCB since 2016, so a few parts of the code are "working around" where this isn't needed any more with LC 9.

You know that, but for those readers who don't: How to get the source?
You have it already (where it is included as soon as the widget is installed). Find the folder of the widget in the "User Extensions" folder, see tab "Files & Memory" of your LC preferences. Then (optionally copy the folder to another location) open the lcb file from menu "Tools>Extension Builder".

Re: Community widgets

Posted: Thu Feb 20, 2020 9:28 pm
by PaulDaMacMan
Where the source code is not included it is commercially licensed (current price $0.00, license: "use at your own risk!"
Hah! Kind of a vague license, but cool!
With 10 of 13 widgets the source code is included
Scrolling back in the forum, I see now that the source for most of them is posted here and I'm suddenly now remembering looking at some of it before, thanks! I was looking for it on your website which doesn't have links for the LCB files.

Re: Community widgets

Posted: Tue Mar 03, 2020 9:34 pm
by [-hh]
[#61] Community LCB widget "BioRhythm" v1.0.0

The widget computes BioRhythm-Curves (sinus curves with different periods of days).

The 7 names and their periods are: physical 23, emotional 28, intellectual 33, spiritual 53, awareness 48, aesthetic 43, intuition 38. Moreover you can have a weighted mean of the included of these 7 curves.

The computed values are in range -100 to 100 for each curve and are displayed as graph or as table (see below for screenshots).

Some may find this widget to be "esoteric". A main reason I made it was to show a smooth display of curves (that is not possible in LC Script) and to exercise the display of a table.

Read more, download the widget and a sample stack from
(server loc EU) https://hyperhh.de/widgets/biorhythm.html
or
(server loc US) https://hh.on-rev.com/widgets/biorhythm.html
 

Re: Community widgets

Posted: Thu Mar 12, 2020 9:30 pm
by [-hh]
(Mar 12, 2020)
TMHO, there is no progress with LC Builder development since a long time.
So I stopped making widgets.

Re: Community widgets

Posted: Thu Mar 12, 2020 9:36 pm
by FourthWorld
[-hh] wrote:
Thu Mar 12, 2020 9:30 pm
(Mar 12, 2020)
TMHO, there is no progress with LC Builder development since a long time.
So I stopped making widgets.
What do you need in place for your next widget?

Re: Community widgets

Posted: Thu Mar 12, 2020 10:35 pm
by [-hh]
I am deeply disappointed. I reported several bugs and feature requests related to LCB since 2016.

Now I decided moreover, based on recent answers of the CTO, to stop any bug reporting (or requesting enhancements).
That is: I don't think it makes any sense to do bug reporting (or requesting enhancements) because there is no interest in a further development of LCB (also not in further development of HTML5, also not in further development of LCS. The latter except removing the bugs that were introduced with 9.5).

So it doesn't make sense to list any of these bugs/requests here. Nevertheless thanks for your interest.

Re: Community widgets

Posted: Thu Mar 12, 2020 10:52 pm
by FourthWorld
Thanks. Does this list look complete, or should I modify my search criteria?:
https://quality.livecode.com/buglist.cg ... on-rev.com

Re: Community widgets

Posted: Thu Mar 12, 2020 11:51 pm
by [-hh]
Richard, you are often trying to harmonize and integrate. A good characteristic trait.

In my case I also got the feeling that I've done a lot in LCB (widgets) and HTML5 (standalones).
And I concluded from that, LC could also do something for me to support this, very seldom, from time to time. Now look at the recent answers from the CTO to my reports, that was the last straw to give up.

Would you do anything more for such a company?

Re: Community widgets

Posted: Thu Mar 12, 2020 11:55 pm
by FourthWorld
I'm far more selfish. I only do the things that are good for my own business. If there's an intersection between things you need from Builder and things I anticipate needing for stuff I have in the pipeline. I'm eager to dive in and see what can be done to get those out of the way.

Re: Community widgets

Posted: Sat Mar 14, 2020 8:20 pm
by jiml
I stopped making widgets.
I'm sorry to hear that.
Thank you for the great work you have contributed!
Viele Dank!

Jim Lambert

Re: Community widgets

Posted: Thu Mar 19, 2020 5:39 pm
by FourthWorld
FWIW, support for Code Blocks have been in development and are slated to drop in v9.6dp3:
https://forums.livecode.com/viewtopic.p ... 05#p189269

Re: Community widgets

Posted: Wed Apr 22, 2020 11:03 am
by giovanni_c
Hi everybody and thanks for the useful materials that you posted on this thread.
I have a question about widgets in genera and I report my questions that I already posted on another thread in which Klaus suggested me to refer to this one to get more info. Sorry if it sound like a crossposting: if necessary the admin can remove the old post.

I am trying to figure out if it's possible to use LCB to create widgets that embed standard LC controls like field or buttons.
The aim of this kind of "studies" is to understand if I can create reusable custom controls accessible from the standard LC toolbar (I.E. like datagrid).
Actually I don't know if the use of widgets is the right way to obtain what I would like to reach.
After just a quick view on this thread I can say that there is no way to use LC native controls (buttons, fields etc) in a widget, isn't it? Everything must be "designed" on the go, am I right?
Can someone give me some hints about this?

Thank you!

Re: Community widgets

Posted: Tue Apr 28, 2020 8:59 am
by PaulDaMacMan
giovanni_c wrote:
Wed Apr 22, 2020 11:03 am
After just a quick view on this thread I can say that there is no way to use LC native controls (buttons, fields etc) in a widget, isn't it? Everything must be "designed" on the go, am I right?
Can someone give me some hints about this?
Correct, in pure LCB (IE without using Foreign Function Interface), graphics / controls must be created using LCB's rendering instructions (which I believe uses the SKIA drawing library). However there are some good example's around for some types of controls like sliders, in fact LiveCode comes bundled with some, that you could use to build on. Technically what you want can be done in LCB, see Herman's controls widget (#55) on page 3 of this thread...

Although it sounds like what you want could be easier to do using grouped controls or with LC's data grid API (which actually uses sub stacks that you can edit).

Re: Community widgets

Posted: Wed Apr 29, 2020 2:11 pm
by giovanni_c
Hi Paul, thanks for feedback.
I may agree with you that the quickest way to manage for what I need is to use object groups with shared behavior.
My question is: is there a way to create groups that I can quickly re-use as a control, like the datagrid?
Is there an API in Livecode to use grouped controls as a native control?

Again thank you for your feedback