Search found 95 matches

by mattmaier
Sun Sep 21, 2014 7:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: using data grid form
Replies: 1
Views: 689

Re: using data grid form

Hokay, so. I'm still not sure what's going on behind the scenes, but this process seems to be working for me. 1) the relevant control (a button probably) should send a custom command message 2) the handler for that message should be on the card. In that handler the dgData property should be set to s...
by mattmaier
Sun Sep 21, 2014 7:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: viewing invisible characters in variable watcher
Replies: 33
Views: 6647

Re: viewing invisible characters in variable watcher

If there are carriage returns in the variable, the value will have more than one line and a magnifying glass will appear to the right. Arrays are displayed in the clear in the variable pane when debugging, and any returns would format as distinct line breaks. In that sense, you can "see" all the re...
by mattmaier
Sat Sep 20, 2014 9:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: using data grid form
Replies: 1
Views: 689

using data grid form

I would appreciate some help understanding the basic instructions on how to use a data grid form. http://lessons.runrev.com/m/datagrid/l/7305-example-creating-a-list-of-people steps in the people example 1) create the form 2) mess around with controls on the row template 3) edit the fillInData messa...
by mattmaier
Sat Sep 20, 2014 5:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: viewing invisible characters in variable watcher
Replies: 33
Views: 6647

viewing invisible characters in variable watcher

Variable watcher is neat. It saves me what would be a lot of trouble trying to manually print the contents of my variables. However, I've got a problem now where a random carriage return seems to be sneaking into one of the elements of an array. Carriage returns are invisible, so they don't appear i...
by mattmaier
Thu Aug 28, 2014 6:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: YAML and LiveCode
Replies: 11
Views: 3525

Re: YAML and LiveCode

I want to use a text file to record all of the steps necessary for a project. The basic format would be a long list of nodes with links to other nodes. Then that text file could be read out and displayed in a bunch of different ways, like as a graphical network, or as a step-by-step list of instruct...
by mattmaier
Thu Aug 28, 2014 2:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: YAML and LiveCode
Replies: 11
Views: 3525

YAML and LiveCode

I found a reference to one or more JSON libraries for LC. Are there any libraries for YAML?
by mattmaier
Thu Jun 19, 2014 10:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to sum digits of a number
Replies: 3
Views: 639

Re: how to sum digits of a number

This seems to be working. The important bit that I was asking about is: repeat for each character tChar in temp put theDigits & (tChar & comma) into theDigits end repeat This is the whole thing so far. Now I get to work on the second pattern. The goal is to output a list of any numbers not visited b...
by mattmaier
Thu Jun 19, 2014 6:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to sum digits of a number
Replies: 3
Views: 639

how to sum digits of a number

I want to implement a pattern where the output is the input plus the sum of the individual digits of the input. So, if the input was 839 the output would be 839 + (8 + 3 + 9) = 859. Is there a built-in function that will allow me to break the number up into its individual digits? If not, I was think...
by mattmaier
Sun Dec 15, 2013 12:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: linux standalone not recognized in ubuntu
Replies: 1
Views: 490

linux standalone not recognized in ubuntu

I made a simple text editor and saved it as a standalone in windows and linux. The windows version runs just fine. When I try to open the linux version in ubuntu it gives me an error message: Could not display The file is of an unknown type Interestingly, ubuntu recognizes the windows version as an ...
by mattmaier
Sat Dec 14, 2013 3:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: GLX2 vs GLX Application Framework
Replies: 0
Views: 400

GLX2 vs GLX Application Framework

These are different things, right? GLX2 is just a script editor? http://mwieder.on-rev.com/WordPress/?incsub_wiki=glx2-documentation GLX Application Framework actually gets bundled with standalones as part of their features? http://revolution.screenstepslive.com/s/revolution/m/glxapp If I know I wan...
by mattmaier
Fri Dec 13, 2013 3:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: why is this if statement evaluating false
Replies: 3
Views: 688

Re: why is this if statement evaluating false

What happens when you set the lock in the image inspector? The image should not respond to any mouse actions, though the arrow keys will move it if in editing mode. In the image's properties, under "size & position", checking "lock size and position" does not have any effect on the "grab" command. ...
by mattmaier
Thu Dec 12, 2013 5:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: why is this if statement evaluating false
Replies: 3
Views: 688

why is this if statement evaluating false

I can't find any way to actually lock an image so that it acts like a background (user can't do anything to it). So, if anyone has any suggestions on that, this workaround might not be necessary. I've got a card with a "background" image and a bunch of ovals. The idea is to drag the ovals around unt...
by mattmaier
Wed May 08, 2013 5:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: resize/divider bar
Replies: 3
Views: 928

Re: resize/divider bar

Hi Bernd, Yeah, that's sort of what I was looking for. Thanks the link. I've spent a while going through the code in that stack and I learned a lot about the details. Like apparently there's a list of cursors. Who knew. But is that a good way to do it? It looks like the three sections are just three...
by mattmaier
Tue May 07, 2013 5:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: resize/divider bar
Replies: 3
Views: 928

resize/divider bar

I've found a couple references to the fact that you can create a divider bar, but all of them just kind of mention that you can do it without explaining how. page 116 in the user guide You can use the Geometry Manager to scale objects with a "divider" bar. Create and script the bar to move, then lin...
by mattmaier
Mon May 06, 2013 7:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: saving a file based on a previous path
Replies: 6
Views: 1332

Re: saving a file based on a previous path

Klaus, thanks so much for pointing me in the right direction. You save me a lot of time sifting through documentation. Particularly the "not" and "ends with" syntax. I figured there had to be something simple like that but couldn't find it. This combination is working correctly: Save As button on mo...

Go to advanced search