Creating custom controls using widget and LCB

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
giovanni_c
Posts: 52
Joined: Sat Sep 08, 2012 10:50 am

Creating custom controls using widget and LCB

Post by giovanni_c » Wed Apr 22, 2020 9:05 am

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?

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Creating custom controls using widget and LCB

Post by Klaus » Wed Apr 22, 2020 9:37 am

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

giovanni_c
Posts: 52
Joined: Sat Sep 08, 2012 10:50 am

Re: Creating custom controls using widget and LCB

Post by giovanni_c » Wed Apr 22, 2020 9:52 am

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?

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Creating custom controls using widget and LCB

Post by Klaus » Wed Apr 22, 2020 10:03 am

Sorry, I am very good at Livecode but have no idea about the LCB stuff. :D

Post Reply

Return to “LiveCode Builder”