Search found 203 matches

by pink
Thu Apr 25, 2019 6:26 pm
Forum: LiveCode Builder
Topic: Enhancing the Tree View widget
Replies: 5
Views: 1098

Re: Enhancing the Tree View widget

For #3 I was getting at performance on iOS, I found it hard to open and close branches. Again, a big part of that was probably just the small row size made it hard to accurately double press the row I was shooting for. For the purpose of mobile devices, it would be good to have an option to use a si...
by pink
Thu Apr 25, 2019 4:44 pm
Forum: LiveCode Builder
Topic: Icon Picker
Replies: 3
Views: 206

Re: Icon Picker

Note: if used as a plugin, I wouldn't want the icons stored in a seperate file. All my SVGs are contained in an LCB library. Is there a built in way to page down if there are more icons in the library then are displayed? I like how the icon Picker scrolls and how it resizes with a few settings. I th...
by pink
Thu Apr 25, 2019 3:58 pm
Forum: LiveCode Builder
Topic: Creating widget specific library
Replies: 0
Views: 117

Creating widget specific library

I've made a couple of LCB libraries, however I discovered that they cannot be used by a widget to interact with the canvas. In general, there is a lot of code I reuse in widgets that I would like to not always copy and paste. Let me try and provide a concrete example. On many of my widgets, I have s...
by pink
Thu Apr 25, 2019 3:37 pm
Forum: LiveCode Builder
Topic: Enhancing the Tree View widget
Replies: 5
Views: 1098

Re: Enhancing the Tree View widget

To be honest, I haven't tried to use the tree widget in an iOS app in a while, so it is possible that it works differently in its current incarnation (I should really test). Some of the below I can do myself, but also there's no point in reinventing the wheel. My main desires for the tree view are: ...
by pink
Wed Apr 24, 2019 3:53 pm
Forum: LiveCode Builder
Topic: Enhancing the Tree View widget
Replies: 5
Views: 1098

Enhancing the Tree View widget

I seem to remember watching a video, probably from one from one of the conferences, where Elanor went through the tree widget to make it function better on mobile devices. Does anyone remember when that was?

Is that code available somewhere?
by pink
Wed Apr 24, 2019 3:51 pm
Forum: LiveCode Builder
Topic: Icon Picker
Replies: 3
Views: 206

Icon Picker

I've playing around inside the code for the Icon Picker... what I am trying to do is use it with my own icon libraries. Before I get in too deep, has anyone tried this, and is there something easy I can do?
by pink
Wed Apr 24, 2019 3:43 pm
Forum: LiveCode Builder
Topic: Memory exhausted
Replies: 5
Views: 591

Re: Memory exhausted

For the record breaking them up to smaller functions did the trick.
by pink
Wed Apr 10, 2019 3:38 pm
Forum: LiveCode Builder
Topic: Memory exhausted
Replies: 5
Views: 591

Re: Memory exhausted

that makes total sense, will give that a try Thanks! @pink: That error is generated by the lc-compile command-line tool which compiles lcb into modules. The error you are getting typically arises if you have a single handler with a very large number of commands in it (it's a limitation of the parser...
by pink
Tue Apr 09, 2019 12:42 am
Forum: LiveCode Builder
Topic: Memory exhausted
Replies: 5
Views: 591

Re: Memory exhausted

Happens in 9.0.2, 9.0.3, 9.0.4-RC2

Also, I forgot to mention, after this happens, if I try and save an open stack I get :

"Can 't save stack {STACKNAME} due to an error: can't open stack file"
by pink
Mon Apr 08, 2019 11:38 am
Forum: LiveCode Builder
Topic: Memory exhausted
Replies: 5
Views: 591

Memory exhausted

So I programmed an LCB library full of SVG icons from Icon54. It is huge, the library is around 7700 lines long. At around line 7562 I received the error "Parsing error: memory exhausted" So my question is, what are the limitations of an LCB library, and if I scaled back a little and successfully, h...
by pink
Thu Mar 07, 2019 6:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone build error in 9.0.2
Replies: 5
Views: 378

Re: Standalone build error in 9.0.2

okay, so after experimenting way too much I've come to the following scenarios that are definitely repeatable: in scenario A, I have a single "normal" stack with a stack script; this compiles in scenario B, I have the same stack, but it uses an external script-only stack as the stack script; this fa...
by pink
Wed Mar 06, 2019 4:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone build error in 9.0.2
Replies: 5
Views: 378

Re: Standalone build error in 9.0.2

Okay, finally got a successful build, I got rid of all the script-only stacks and just made them regular scripts.

So the question is, why would that error out?
by pink
Wed Mar 06, 2019 12:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone build error in 9.0.2
Replies: 5
Views: 378

Re: Standalone build error in 9.0.2

Yes, have built with 9.0.2, I also gave a try on a MacOS computer, and got the same result.

The two main differences:
1. Added a couple of widgets
2. Converted to script only stack behaviors
by pink
Tue Mar 05, 2019 8:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone build error in 9.0.2
Replies: 5
Views: 378

Standalone build error in 9.0.2

So I'm trying to build a standalone, I've made numerous version of this application in the past. All I am getting is a window that says "There was an error while saving the standalone application" and a lot of information, none of which really give me a clue as to what the error is... At first I tho...
by pink
Thu Feb 21, 2019 6:23 pm
Forum: LiveCode Builder
Topic: Drawing Hexagons
Replies: 13
Views: 842

Re: Drawing Hexagons

Honestly not sure if there is an advantage... I've been trying to replace more parts of my stacks with homemade widgets partially as a programming exercise, but also because it is can really clean up my scripts. The game board is 37 hexagons, and to resize each one, and then position them properly r...

Go to advanced search