Search found 171 matches
- Sun Jun 02, 2019 5:11 pm
- Forum: Feature Requests
- Topic: iconGravity
- Replies: 23
- Views: 2592
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/...
- Wed Apr 10, 2019 12:23 pm
- Forum: LiveCode for FM
- Topic: Understanding LCFMNative
- Replies: 1
- Views: 1012
Re: Understanding LCFMNative
At the moment, yes it is just a method to deploy FileMaker projects. There are no plans to turn it into a converter - they way it works is using a virtual machine / bytecode style model, rather than producing readable LiveCode. In the future it may be possible to augment deployed FM projects with Li...
- Mon Feb 18, 2019 5:33 pm
- Forum: LiveCode Builder
- Topic: Popup field?
- Replies: 2
- Views: 765
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.
- Fri Aug 24, 2018 10:56 am
- Forum: LiveCode Builder
- Topic: com.livecode.widget.ColorPicker
- Replies: 17
- Views: 3166
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.
- Wed Aug 22, 2018 3:59 pm
- Forum: LiveCode Builder
- Topic: com.livecode.widget.ColorPicker
- Replies: 17
- Views: 3166
Re: com.livecode.widget.ColorPicker
In general widgets require specific coding to handle the case when they are popped up by some other script
- Wed Aug 22, 2018 3:53 pm
- Forum: LiveCode Builder
- Topic: com.livecode.widget.ColorPicker
- Replies: 17
- Views: 3166
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...
- Wed Aug 22, 2018 3:44 pm
- Forum: LiveCode Builder
- Topic: Default Script
- Replies: 11
- Views: 2106
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...
- Tue Aug 14, 2018 8:52 am
- Forum: LiveCode Builder
- Topic: Default Script
- Replies: 11
- Views: 2106
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...
- Mon Aug 13, 2018 10:25 pm
- Forum: LiveCode Builder
- Topic: Default Script
- Replies: 11
- Views: 2106
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...
- Mon Aug 13, 2018 9:33 am
- Forum: LiveCode Builder
- Topic: One extension with multiple native library implementations
- Replies: 4
- Views: 1395
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...
- Mon Aug 13, 2018 9:29 am
- Forum: LiveCode Builder
- Topic: Canvas
- Replies: 8
- Views: 1894
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...
- Sun May 20, 2018 9:45 pm
- Forum: Android Deployment
- Topic: Min Android API vs target Android API in Google Play
- Replies: 5
- Views: 1432
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
- 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: 1122
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...
- Fri Apr 27, 2018 10:41 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Rotating a text field
- Replies: 5
- Views: 1310
Re: Rotating a text field
The extensions course contains code for a rotated text widget here (click the downloads icon on the right)
- Fri Apr 27, 2018 10:39 pm
- Forum: LiveCode Builder
- Topic: FFI Help wrapping ObjC
- Replies: 16
- Views: 3643
Re: FFI Help wrapping ObjC
Hmm, that suggests something is being over-released, which means it is likely being marked as retained when it shouldn't be... I'm sure it will be something simple!