Search found 173 matches

by livecodeali
Wed Jan 20, 2021 5:09 pm
Forum: Off-Topic
Topic: Only Connect
Replies: 10
Views: 472

Re: Only Connect

Aha, I had managed to completely forget about that!
by livecodeali
Wed Jan 20, 2021 4:24 pm
Forum: Off-Topic
Topic: Only Connect
Replies: 10
Views: 472

Re: Only Connect

mwieder wrote:
Wed Jan 20, 2021 7:28 am
Do you make fishcakes?
I'm sure I should understand this question but I don't :lol:
by livecodeali
Tue Jan 19, 2021 12:19 am
Forum: Off-Topic
Topic: Only Connect
Replies: 10
Views: 472

Re: Only Connect

Thanks :D It means Ali Lloyd has been competing in a quiz/puzzle show on UK television called "Only Connect", and his team won in the episode aired tonight. Rooting for the win! (But Ali won't be allowed to say yet, although it will have been filmed already.) I also suspect Ali might be a bit tired ...
by livecodeali
Sun Jun 02, 2019 5:11 pm
Forum: Feature Proposals
Topic: iconGravity
Replies: 23
Views: 7326

Re: iconGravity

No need to get carried away, there was no conscious decision to omit the icongravity property from the inspector for these button types (as far as I know), it's a simple oversight. Here is the PR adding it to the list of properties available for display in the inspector: https://github.com/livecode/...
by livecodeali
Mon Feb 18, 2019 5:33 pm
Forum: LiveCode Builder
Topic: Popup field?
Replies: 2
Views: 2147

Re: Popup field?

Have a look at revIDECreateTransientTextField and associated handlers in the IDE - this is how we do it with the navigation bar property inspector.
by livecodeali
Fri Aug 24, 2018 10:56 am
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 6808

Re: com.livecode.widget.ColorPicker

It doesn't have to be a whole new widget, but yes, within the widget you need specific logic for returning a value - see the 'currently popped up' syntax in the dictionary, or the code in the icon picker.
by livecodeali
Wed Aug 22, 2018 3:59 pm
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 6808

Re: com.livecode.widget.ColorPicker

In general widgets require specific coding to handle the case when they are popped up by some other script
by livecodeali
Wed Aug 22, 2018 3:53 pm
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 6808

Re: com.livecode.widget.ColorPicker

There is no such widget - I think the docs were intended to be illustrative rather than literal there. It would be better to replace with a working example though, so it could be changed to "com.livecode.widget.iconpicker" with selectedIcon instead of currentColor. If you are asking because you actu...
by livecodeali
Wed Aug 22, 2018 3:44 pm
Forum: LiveCode Builder
Topic: Default Script
Replies: 14
Views: 5211

Re: Default Script

I'm still confused as to the specific issue here - if the handler shows up in the default handler list (and nothing else) then that is the expected behavior - we did away with default scripts actually populating the script, they merely define a list of handlers for the default handler list. If I loa...
by livecodeali
Tue Aug 14, 2018 8:52 am
Forum: LiveCode Builder
Topic: Default Script
Replies: 14
Views: 5211

Re: Default Script

No, it should happen automatically. However, I'm wondering if there may be a docs issue here - we changed default scripts so that the handlers specified show up in the left hand side, rather than the script actually being automatically filled in - does your default script consist of (a) handler(s) a...
by livecodeali
Mon Aug 13, 2018 10:25 pm
Forum: LiveCode Builder
Topic: Default Script
Replies: 14
Views: 5211

Re: Default Script

support should be lowercase, although possibly that isn't the issue if you're on an os with a case insensitive file system. Your default script stack needs to be named "your.widget.identifier.__DefaultScript", eg: script "com.livecode.widget.navbar.__DefaultScript" Other than that, the only reason I...
by livecodeali
Mon Aug 13, 2018 9:33 am
Forum: LiveCode Builder
Topic: One extension with multiple native library implementations
Replies: 4
Views: 2527

Re: One extension with multiple native library implementations

Yes, the cross platform button example is how we would recommend structuring such an extension: https://github.com/livecode/livecode/pull/6266 However it does potentially over-complicate things it if the extension is very simple, and you can do as Trevor suggests (in fact the first LiveCode widget t...
by livecodeali
Mon Aug 13, 2018 9:29 am
Forum: LiveCode Builder
Topic: Canvas
Replies: 8
Views: 3668

Re: Canvas

Hi Max, I added an overview of the canvas API with examples in the Extending LiveCode document in the 9.0 GM release: https://github.com/livecode/livecode-ide/blob/develop/Documentation/guides/Extending%20LiveCode.md#canvas-api Please give that a read and let me know what we can do to improve it. Th...
by livecodeali
Sun May 20, 2018 9:45 pm
Forum: Android Deployment
Topic: Min Android API vs target Android API in Google Play
Replies: 5
Views: 2632

Re: Min Android API vs target Android API in Google Play

Yes, you could change the template manifest - it's at LiveCode Community 9.0.0.app/Contents/Tools/Runtime/Android/Manifest.xml for example on Mac
by livecodeali
Fri May 11, 2018 3:12 pm
Forum: LiveCode Builder
Topic: Testing if a LCB Library or Widget is installed from LCS
Replies: 3
Views: 1977

Re: Testing if a LCB Library or Widget is installed from LCS

In the IDE you can do revIDEExtensions() to get an array with all the metdata. You can cut that down with parameters, eg revIDEExtensions("library") or revIDEExtensions("widget", "installed"). For individual extension properties, use revIDEExtensionProperty(<kind>, <propName>) where propName is vari...

Go to advanced search