Re: Me and target of script widgets

2023-10-23 Thread Mike Kerner via use-livecode
also brutal answer: documentation needs to be not just extended, but written for the property inspector and property editor, or you are going to be spinning your wheels trying to figure out that thing, too. this same issue has made writing lcb widgets so exceptionally painful that i've stopped wast

Re: Me and target of script widgets

2023-10-22 Thread Niggemann, Bernd via use-livecode
Hi David, Stam Kapetanakis has done a script widget which can be found at https://github.com/stam66/tristate/blob/main/com.sk.widget.tristate.livecodescript Script Widgets are new and a bit special. Not as much as LCB but still. You can use Stam's widget as a template of a working script widget.

Re: Me and target of script widgets

2023-10-22 Thread Alex Tweedly via use-livecode
Brutal answer :-) Script widgets aren't ready for release yet. They have (effectivtely) no documentation, no examples, no lessons. Unless you have a desparate need to do it now, I'd suggest waiting until they are somewhere near ready. Alex. On 22/10/2023 10:41, David Bovill via use-livecod

Me and target of script widgets

2023-10-22 Thread David Bovill via use-livecode
Having my first go at script widgets. It appears that there is either an issue (or it is a feature) with script widgets and "me"? A handler like this: *on* mouseUp *## All references are to "inner" controls (ie the target) and not the group* *put* the short id of me into shortID *put* the long