Search found 397 matches

by townsend
Thu Dec 12, 2013 8:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Go To or Open Card Not Working
Replies: 4
Views: 3040

Re: Go To or Open Card Not Working

Thanks for your help Richard-- a little mix up there.
It's working fine now.
by townsend
Thu Dec 12, 2013 8:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Go To or Open Card Not Working
Replies: 4
Views: 3040

Re: Go To or Open Card Not Working

Thanks for the quick reply Richard! I changed the reference to "number" to "id". It still didn't work. Then I changed the "Go To" to "Open" And now it works fine. So I guess you shouldn't use "Go To" unless the card is already open. What about using Open, even if the Card is open. I do that all the...
by townsend
Thu Dec 12, 2013 8:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Go To or Open Card Not Working
Replies: 4
Views: 3040

Go To or Open Card Not Working

I'm having a problem getting my app to open with the last used card. I've been saving the last card ID with "the short ID of this card" fine. I can retrieve the saved value fine. But I'm having trouble opening that card. Here's the code. With the Wait statement, the correct card is opened. But not b...
by townsend
Wed Dec 04, 2013 1:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Updating a single Data Grid cell
Replies: 1
Views: 1742

Updating a single Data Grid cell

I need to update 1 field in a Data Grid. This code works: put the dgDataOfLine[1] of group "my.grid" into aTemp put "13/12/03" into aTemp["Date"] set the dgDataOfLine[1] of group "my.grid" to aTemp But it seems a little inefficient, removing and replacing the whole line. Can I update that one cell d...
by townsend
Sun Dec 01, 2013 7:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: script error in browser control
Replies: 1
Views: 2367

script error in browser control

I'm using a simple browser control and sometimes I get this error:
Capture.JPG
Is there any way to tell livecode to ignore these errors--
to continue loading without putting up this error message?
by townsend
Fri Nov 29, 2013 6:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: best way to filter a datagrid
Replies: 1
Views: 1987

best way to filter a datagrid

I've got a datagrid with a date column. Some rows have a date, and others have the date field as empty. I don't want to display both the empty and populated fields at the same time. So I have a couple of radio buttons set up to switch back and forth between views. The problems is, what's the best wa...
by townsend
Sun Nov 24, 2013 7:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script Debug Mode crash
Replies: 2
Views: 2099

Re: Script Debug Mode crash

Thanks Mark! I appreciate your detailed instructions.
I went ahead and installed the current Community edition and now, ALL version seem to work okay.
Now, back to coding...
by townsend
Sat Nov 23, 2013 1:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script Debug Mode crash
Replies: 2
Views: 2099

Script Debug Mode crash

I spend most of the day coding on a new idea. All was going well, until I noticed my breakpoints weren't catching. The tooltip told me that this was because the Script Debug Mode was off. So i turned it on, and the whole development environment instantly crashed. This is with version 5.5, which is a...
by townsend
Thu Jul 26, 2012 11:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: loading data into DataGrid
Replies: 8
Views: 5136

Re: loading data into DataGrid

Good job getting the data off the web. As for putting it into a datagrid,
there's a lot of good code in this example stack. I think you'll find a of answers here.
CRUD SQLite example

Image
by townsend
Fri Jul 20, 2012 8:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: App structure
Replies: 7
Views: 3432

Re: App structure

It would probably be easier to make each of them a card inside one stack. Easier, in that referencing variables between cards does not require a stack reference. And when coding, I find it much easier to jump between cards, than keeping multiple stack windows open. Each card has it's own unique wind...
by townsend
Fri Jul 20, 2012 4:11 pm
Forum: iOS Deployment
Topic: App approved
Replies: 4
Views: 3404

Re: App approved

Good going!
Here's a link in case anyone else wants to have a look.
http://itunes.apple.com/us/app/number-w ... d542977155
by townsend
Fri Jul 20, 2012 3:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Focus on nothing & Select empty problem
Replies: 2
Views: 2475

Re: Focus on nothing & Select empty problem

BvG wrote:open the substack as palette.
I was watching this thread yesterday. It got a lot of views-- but no solution.
I had given up on it-- but then today-- I see the answer.

Thanks Björnke!

Code: Select all

palette stack "Message"
by townsend
Thu Jul 19, 2012 8:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Focus on nothing & Select empty problem
Replies: 2
Views: 2475

Focus on nothing & Select empty problem

This may not be possible, but I thought I'd ask before I give up. I've got these popup reminder messages that happen occasionally. Basically, a sub-stack opens with the stack size set the the size of a text field. But sometimes while the user is typing away in a text field on the main stack, one of ...
by townsend
Mon Jul 16, 2012 10:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: reading 1 line of text at a time
Replies: 10
Views: 6830

Re: reading 1 line of text at a time

But it would be much faster and more robust to read the entire file, put it into a variable, and then process line by line in a single handler. Is this not feasible? Yes-- I've been doing that all along. I just thought, since it is a large file, it would be more efficient to read the data in one li...
by townsend
Mon Jul 16, 2012 10:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: reading 1 line of text at a time
Replies: 10
Views: 6830

reading 1 line of text at a time

Rather than read a text file into memory in one fell swoop with the put url("file:monster.txt") into field "view" I want to read one line at a time and selectively distribute lines to different controls. This is just a test script to get the syntax right. The Dictionary nor the Lessons are clear abo...

Go to advanced search