Search found 92 matches

by mattmaier
Sat Jan 24, 2015 10:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rotate a line?
Replies: 21
Views: 12875

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: 2857

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: 5425

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 6:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Naming conventions
Replies: 4
Views: 3013

Re: Naming conventions

This post addresses it.
http://forums.livecode.com/viewtopic.php?f=7&t=5265
The meat of my suggestion would be to read this article.
http://www.fourthworld.com/embassy/arti ... style.html
by mattmaier
Fri Jan 16, 2015 5:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: mouse everything
Replies: 1
Views: 1602

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: 2534

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: 4629

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: 1855

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: 3109

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: 4629

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: 4629

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: 4629

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.
by mattmaier
Thu Nov 20, 2014 4:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Find on the web
Replies: 3
Views: 2703

Re: Find on the web

Maybe this is what you're looking for http://forums.livecode.com/viewtopic.ph ... 202#p86653
by mattmaier
Wed Nov 19, 2014 4:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: datgrid display sort of correct [solved]
Replies: 5
Views: 4629

datgrid display sort of correct [solved]

I've got this datagrid that's drawing the right thing but it's kind of like it's own graphic on top of the default datagrid. In the attached image, I resized the window a bit to expose the difference between the stuff that's being drawn and the default datagrid "underneath." This version has scrollb...
by mattmaier
Sat Nov 08, 2014 1:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: a variety of things
Replies: 3
Views: 2900

Re: a variety of things

jacque, awesome, thanks that worked perfectly :) I just searched for livecode.rev & livecode7.rev and deleted them both. It's entirely possible that my laptop still thinks it might possibly have to deal with an external monitor since I had one for a long time. But after deleting those two preference...

Go to advanced search