Search found 166 matches

by livecodeali
Mon Jan 08, 2018 6:36 pm
Forum: LiveCode Builder
Topic: [Q] Cocoa class delegates
Replies: 12
Views: 8960

Re: [Q] Cocoa class delegates

Hi! Sorry for the delay in replying to this, just got back from the holidays. There's a slight wrinkle with BOOL being typedef'd to different primitive types on Mac (signed char) and iOS (bool) - for this reason there is some special-case code that allows a CBool to be used as the parameter in a del...
by livecodeali
Sat Dec 23, 2017 8:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Widget sources?
Replies: 6
Views: 4561

Re: Widget sources?

Most of the widgets included in livecode, Plus a few more, have their source code available here: https://github.com/livecode/livecode/tr ... ns/widgets

There is in fact a progress bar widget that we did not seem sufficiently polished to include- you could potentially make use of this.
by livecodeali
Wed Dec 06, 2017 10:54 pm
Forum: LiveCode Builder
Topic: [Q] Cocoa class delegates
Replies: 12
Views: 8960

Re: [Q] Cocoa class delegates

Yep, for both :D
by livecodeali
Wed Dec 06, 2017 10:29 am
Forum: IDE Contributors
Topic: working with lcdoc files
Replies: 32
Views: 46577

Re: working with lcdoc files

Are you building from source? What version are you trying it in? When I do dispatch function "revDocsParseDocFileToLibraryArray" to stack "revDocsParser" with "/Users/alilloyd/Documents/GitHub/livecode/docs/dictionary/command/move.lcdoc"; revPutArray the result I get doc = 1 = Example = 1 = move ima...
by livecodeali
Mon Dec 04, 2017 2:19 pm
Forum: LiveCode Builder
Topic: [Q] unable to bind to foreign handler
Replies: 2
Views: 3227

Re: [Q] unable to bind to foreign handler

Bug report, for reference: http://quality.livecode.com/show_bug.cgi?id=20733 Further to my explanation on the above report, you should be able to work around the issue using setValue:forKey: private foreign handler NSUserNotificationSetProperty(in Obj as ObjcId, in pValue as ObjcId, in pProp as Objc...
by livecodeali
Mon Dec 04, 2017 11:00 am
Forum: LiveCode Builder
Topic: [Q] LCB Library - capture a setProp
Replies: 3
Views: 3520

Re: [Q] LCB Library - capture a setProp

No, there isn't. You would have to handle the setProp in script and call the library.
by livecodeali
Mon Dec 04, 2017 10:39 am
Forum: LiveCode Builder
Topic: [Q] Window pointer
Replies: 22
Views: 15157

Re: [Q] Window pointer

Great! It's really good to see this :-)
by livecodeali
Fri Dec 01, 2017 9:37 pm
Forum: LiveCode Builder
Topic: [Q] Window pointer
Replies: 22
Views: 15157

Re: [Q] Window pointer

The problem with the code, I think, is that you are using Integer in the foreign handler definition for NSApplicationWindowWithWindowNumber I have it working here as a library using CLong instead: private foreign handler NSApplicationWindowWithWindowNumber(in sharedApplication as ObjcId, in windowNu...
by livecodeali
Fri Dec 01, 2017 1:22 pm
Forum: Engine Contributors
Topic: How to build server target
Replies: 3
Views: 7191

Re: How to build server target

It should work if you do

Code: Select all

make config-linux
make -C build-linux-x86_64/livecode server
or

Code: Select all

make -C build-linux-x86/livecode server
if you are on 32-bit.

You will need to install liblcms-dev to resolve that build error.
by livecodeali
Wed Nov 29, 2017 3:54 pm
Forum: Engine Contributors
Topic: How to build server target
Replies: 3
Views: 7191

Re: How to build server target

Hi Ben,
What platform are you building on?
by livecodeali
Mon Oct 23, 2017 10:47 am
Forum: LiveCode Builder
Topic: Community widgets
Replies: 68
Views: 109839

Re: Community widgets

Hermann,
Popup widget uses a transient stack, and stack windows are not yet supported in HTML5 (see also, tooltips / option menus etc). We are currently working on a solution to this, although it remains to be seen how general it is possible to be.
by livecodeali
Fri Oct 06, 2017 2:18 pm
Forum: LiveCode Builder
Topic: Direct LCB encoding/decoding
Replies: 1
Views: 2272

Re: Direct LCB encoding/decoding

Unfortunately there isn't currently a way - the encoding module was left uncompleted pending decisions about string encoding functions I believe... anyway, I've filed a bug because we should be able to get (at least) base 64 encode / decode in there.

http://quality.livecode.com/show_bug.cgi?id=20521
by livecodeali
Wed Sep 27, 2017 3:55 pm
Forum: LiveCode Builder
Topic: Declare Android app permissions
Replies: 2
Views: 4138

Re: Declare Android app permissions

Hi Gurgen, You need to obtain an instance of the fingerprint service and call isHardwareDetected on it - it's not a static method (and if it were you would need to add !static to the binding string). You can use the getSystemService method to obtain such an instance - the following code works here: ...
by livecodeali
Thu Sep 14, 2017 10:57 am
Forum: LiveCode Builder
Topic: load URL in LCB
Replies: 1
Views: 2342

Re: load URL in LCB

That module was only for local file and binfile urls, but we never ended up hooking it up and including it - mainly because all the file handling was tied to the engine at that point and LCB (in general) needs to be able to run without the core engine. It would probably be possible now that we have ...
by livecodeali
Wed Sep 13, 2017 3:35 pm
Forum: LiveCode Builder
Topic: Community widgets
Replies: 68
Views: 109839

Re: Community widgets

This is excellent Hermann! So many properties :D

Go to advanced search