Search found 95 matches

by mattmaier
Mon Mar 02, 2015 2:18 am
Forum: rTree
Topic: getting started with rTree
Replies: 1
Views: 3452

getting started with rTree

I feel like I must be missing something obvious, but I can't get rTree to work properly. I create a new mainstack, then open rTree, then drag the control onto my new mainstack. At that point it mostly works, except for a couple things I found like having to manually change the icon ids. However, whe...
by mattmaier
Sun Jan 25, 2015 7:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: extra space in a field [solved]
Replies: 3
Views: 1075

Re: extra space in a field

Thanks, I found this little nugget of wisdom in that thread: the formattedHeight of char 1 to - 1 of field 1 means just the text whereas the formattedHeight of field 1 also includes (besides the text) margins, borderwidth and scrollbars. Man, there are so many properties, many with overlapping effec...
by mattmaier
Sat Jan 24, 2015 10:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: best way to add a new line
Replies: 7
Views: 1460

Re: best way to add a new line

Yeah, that's clever. So the number of lines returns 0 if the field is empty. Neat.
by mattmaier
Sat Jan 24, 2015 10:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rotate a line?
Replies: 21
Views: 3568

Re: Rotate a line?

I just went through the process of trying to find livecode's built-in functions for manipulating geometry and trig and whatnot. They don't exist. Or, rather, there are a couple but they only work for graphics and they only use their "points" which have to be rounded off. After you work with text and...
by mattmaier
Sat Jan 24, 2015 9:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: extra space in a field [solved]
Replies: 3
Views: 1075

extra space in a field [solved]

I'm trying to use a field as a container for a short bit of text. I want the edges of the field to shrink down to just enough to show all of the text without any extra padding. This is the script I'm using to create the field: set the loc of the templateField to workingArray[tKey][coord] set the tex...
by mattmaier
Fri Jan 16, 2015 6:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I have a RSS feed (xml) file that I need to extract links
Replies: 8
Views: 1934

Re: I have a RSS feed (xml) file that I need to extract link

So you know how you want the target link to start? Maybe the "begins with" function will help http://livecode.com/developers/api/6.0. ... ns%20with/
by mattmaier
Fri Jan 16, 2015 5:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: mouse everything
Replies: 1
Views: 516

mouse everything

I've got little fields with some text in them that the user can drag around. After the user is done dragging I want to update an array with the final location of the field. Usually, the script figures out that the user is done and updates the final location, but every now and then it doesn't. I've g...
by mattmaier
Sun Jan 04, 2015 6:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: can a group receive mouse messages
Replies: 3
Views: 858

can a group receive mouse messages

I followed along with a couple lessons on making scrolling groups. I swear to Gosh at one point my experimental group did everything I wanted it to. Specifically, I could click anywhere inside it, drag the mouse, and the group would scroll appropriately. Now the same group won't do that anymore. I h...
by mattmaier
Sat Dec 27, 2014 9:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: datgrid display sort of correct [solved]
Replies: 5
Views: 1737

Re: datgrid display sort of correct

It seems fixed. The scrollbar disappeared when I fed a non-numeric key into dgData and the scrollbar reappeared whenever all of the keys were numeric. So I added a counter that ensures there's a numeric key for every entry in dgData since the array I'm pulling from has a couple non-numeric keys. It'...
by mattmaier
Wed Dec 17, 2014 7:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: does anything build a map of the application?
Replies: 1
Views: 684

does anything build a map of the application?

I see several options for extensions/plugins that help make sense of the application being written in Livecode. Examples: ControlManager lcTaskList 1.3 NativeDoc 3.0 etc Is there anything that generates a flow diagram, or just follows the logic from message to command to function and somehow display...
by mattmaier
Tue Dec 16, 2014 11:59 pm
Forum: Talking LiveCode
Topic: reading in text from a file and filling arrays
Replies: 3
Views: 1143

Re: reading in text from a file and filling arrays

Looks like you should be able to use the "split" command
http://docs.runrev.com/Command/split

So, something like...

Code: Select all

put arrayWhatever[someKey] into tList
split tList by space
put tList into arrayWhatever[someKey]
by mattmaier
Thu Dec 04, 2014 4:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: datgrid display sort of correct [solved]
Replies: 5
Views: 1737

Re: datgrid display sort of correct

That didn't produce any errors. I tried several ways, like resetting the IDE, and refreshing with script, and refreshing from the property manager. No errors. I also tried different options under layer mode; no affect. Older versions of the application have a datagrid that still scrolls just fine. S...
by mattmaier
Wed Dec 03, 2014 6:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: datgrid display sort of correct [solved]
Replies: 5
Views: 1737

Re: datgrid display sort of correct

Putting this here because it's easier for responding to the mailing list, and it makes sense to put the info for this topic in one place.
Also, I'm using version 7 (rc 1) on Windows 8.1
by mattmaier
Sun Nov 30, 2014 6:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: datgrid display sort of correct [solved]
Replies: 5
Views: 1737

Re: datgrid display sort of correct

Now the other datagrid in my application has suddenly started doing the same thing. It always worked properly, but now it's scrollbar doesn't work and it looks like it's just overlaying rows with content on top of the default datagrid.

Go to advanced search