Page 1 of 1

Creating custom controls using widget and LCB

Posted: Wed Apr 22, 2020 9:05 am
by giovanni_c
Hi everybody,
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.
Can someone give me some hints about this?

Re: Creating custom controls using widget and LCB

Posted: Wed Apr 22, 2020 9:37 am
by Klaus
Ciao Giovanni,

maybe you should browse the great works of HermannHoch (-hh), I'm sure he made something like this already:
https://forums.livecode.com/viewtopic.php?f=93&t=28020


Best

Klaus

Re: Creating custom controls using widget and LCB

Posted: Wed Apr 22, 2020 9:52 am
by giovanni_c
Hi Klaus, thanks for prompt feedback.
I will have a deeper look on the thread you suggested but after just a quick view 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?

Re: Creating custom controls using widget and LCB

Posted: Wed Apr 22, 2020 10:03 am
by Klaus
Sorry, I am very good at Livecode but have no idea about the LCB stuff. :D