Search found 310 matches

by PaulDaMacMan
Fri Oct 30, 2020 7:35 pm
Forum: LiveCode Builder
Topic: [LCB FFI] Why can't I bind to these or make this Aggregate Type?
Replies: 5
Views: 227

Re: [LCB FFI] Why can't I bind to these or make this Aggregate Type?

For future reference... Here's a list of already-bit-shifted numbers for adding together to create NSWindow's styleMask value for the type of window you want to create: -- Borderless = 0 -- Titled = 1 -- Closable = 2 -- Miniaturizable = 4 -- Resizable = 8 -- Utility = 16 -- DocModal = 64 -- Nonactiv...
by PaulDaMacMan
Fri Oct 30, 2020 2:02 am
Forum: LiveCode Builder
Topic: [LCB FFI] Why can't I bind to these or make this Aggregate Type?
Replies: 5
Views: 227

Re: [LCB FFI] Why can't I bind to these or make this Aggregate Type?

In fact it seems part of the problem was just having this binding string in my lcb file, even if it's not called from any handler, causes a crash when I go to compile with extension builder. Which seems like it might be a bug. Perhaps it's caused by the fact that the LC engine itself already uses CG...
by PaulDaMacMan
Fri Oct 30, 2020 1:20 am
Forum: LiveCode Builder
Topic: [LCB FFI] Why can't I bind to these or make this Aggregate Type?
Replies: 5
Views: 227

Re: [LCB FFI] Why can't I bind to these or make this Aggregate Type?

Here is what I found in some code from some WebKit example code at https://github.com/trevordevore/lc-macos-toolset/blob/master/WebKit/webkit.lcb : public foreign type NSRect binds to "MCAggregateTypeInfo:qqqq" private foreign handler ObjC_WebViewInitWithFrame (in pWebView as ObjcId, in pRect as NS...
by PaulDaMacMan
Thu Oct 29, 2020 3:01 am
Forum: LiveCode Builder
Topic: [LCB FFI] Why can't I bind to these or make this Aggregate Type?
Replies: 5
Views: 227

[LCB FFI] Why can't I bind to these or make this Aggregate Type?

Anybody know how to make NSRect or CGRect struct in LCB? Or know the proper way to bind to any of Apple's Foundation functions that return one (such as NSMakeRect, CGRectMake, or NSRectFromString)? I've tried a bunch of different binding strings such as: "c:CoreFoundation.framework>CGRectMake","c:Co...
by PaulDaMacMan
Mon Oct 19, 2020 10:09 pm
Forum: Off-Topic
Topic: Spelling mistakes
Replies: 34
Views: 2855

Re: Spelling mistakes

Screen Shot 2020-10-09 at 8.43.03 AM.png - quod erat demonstrandum est I don't know what I was thinking when I made that comment. I was using google search as spell-checker and it didn't give me the usual "Did you mean..." & the correct spelling... probably made that comment after reading this disc...
by PaulDaMacMan
Thu Oct 08, 2020 11:33 pm
Forum: Off-Topic
Topic: Spelling mistakes
Replies: 34
Views: 2855

Re: Spelling mistakes

Is "deleteable" incorrect? Perhaps the English language needs some more evolving as there doesn't seem to be any English word for that. Delete-enabled?
by PaulDaMacMan
Thu Oct 08, 2020 10:34 pm
Forum: Announcements
Topic: [ANN] Piano Widget 1.0 Released (Open Source LCB)
Replies: 4
Views: 455

Re: [ANN] Piano Widget 1.0 Released (Open Source LCB)

The self contained demo stack on livecodeshare.runrev.com has been updated with a slightly newer version of the widget's binary embedded into it. I've added a few more demos that show off some features I've added since 1.0 was released. These include a new property for assigning different fill color...
by PaulDaMacMan
Thu Oct 08, 2020 3:03 pm
Forum: Off-Topic
Topic: Spelling mistakes
Replies: 34
Views: 2855

Re: Spelling mistakes

Did anyone do PR's for these corrections on GitHub yet? I've seen a few of errors myself, but usually while I'm too busy doing something else and never get around to collecting them as @richmond62 has done here. If not, this would be a good little "Hacktoberfest" side-project (and my last Hacktoberf...
by PaulDaMacMan
Fri Oct 02, 2020 3:52 am
Forum: Announcements
Topic: [ANN] Piano Widget 1.0 Released (Open Source LCB)
Replies: 4
Views: 455

Re: [ANN] Piano Widget 1.0 Released (Open Source LCB)

Thank! As I said, I did get some help with it. I'd be happy to explain anything about it if you have any questions.

I'm working on version 1.5 right now, but there's other projects that I'd like to get back to working on as well, so my efforts on this widget will likely slow down after 1.5.
by PaulDaMacMan
Tue Sep 29, 2020 3:03 pm
Forum: Announcements
Topic: [ANN] Piano Widget 1.0 Released (Open Source LCB)
Replies: 4
Views: 455

[ANN] Piano Widget 1.0 Released (Open Source LCB)

I'm happy to announce the release of my first real widget! Piano Widget version 1.0 Available from the LiveCode extension store here: https://livecode.com/extensions/piano-widget/1-0/ Basic demo stack (that uses LC's very limited built-in sound capabilities) is here: http://livecodeshare.runrev.com/...
by PaulDaMacMan
Sun Sep 27, 2020 2:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Make a border around a substack
Replies: 10
Views: 2095

Re: Make a border around a substack

I just found your tool while working on some Widget Properties... Just an FYI, it doesn't list some Widget properties, at least not beyond some of the basics. For example: I've shadowed the LiveCode property borderColor in my Widget (along with a some others standard and some custom props too) but ...
by PaulDaMacMan
Fri Sep 25, 2020 6:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Make a border around a substack
Replies: 10
Views: 2095

Re: Make a border around a substack

Well what do you know, Cards have borders, even though that property is not present in the inspector. The Inspector is a subset of properties, showing only the most commonly used one. But LC is a deep language, so there's always something new to discover. This Property Sheet tool shows all props re...
by PaulDaMacMan
Fri Sep 25, 2020 4:49 pm
Forum: LiveCode Builder
Topic: How to inherit the borderWidth property from the engine?
Replies: 1
Views: 732

Re: How to inherit the borderWidth property from the engine?

@LCMark answered my question on Gitter, pasting here for future reference: The borderWidth isn't an inherited property and so isn't one which is excluded from being used as a widget property. The signature widget just does: private variable mBorderWidth as Number property "borderWidth" get mBorderWi...
by PaulDaMacMan
Fri Sep 25, 2020 3:22 pm
Forum: LiveCode Builder
Topic: Default Script
Replies: 14
Views: 4312

Re: Default Script

I'm finding that the default script doesn't show up in the Extension Builder window ("No default script found") but if you click the Edit button the script does appear in the script editor and also populates the default script pane in the Extension Builder. LC 9.6.1. Yeah, the Extension Builder def...
by PaulDaMacMan
Fri Sep 25, 2020 3:08 pm
Forum: LiveCode Builder
Topic: How to inherit the borderWidth property from the engine?
Replies: 1
Views: 732

How to inherit the borderWidth property from the engine?

In a widget how do I inherit the borderWidth property from the engine for use with canvas strokes? In the dictionary the signature widget (indy) is the only widget that has that property, but that doesn't come with source code. I already know how to inherit/convert color properties like borderColor,...

Go to advanced search