Search found 339 matches

by cusingerBUSCw5N
Sat Aug 25, 2012 9:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing images - setting cImageRatio
Replies: 2
Views: 1373

Resizing images - setting cImageRatio

I have just figured out that the images on the TickedOff application automatically resize when the stack/card size changes because the images have three Custom properties: - cImageRatio, cPrimaryDimension and cStackRatio. In the short run, I am going to calculate the cStackRatio and manually put it ...
by cusingerBUSCw5N
Thu Aug 16, 2012 6:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: dynamically change an image source
Replies: 14
Views: 4183

Re: dynamically change an image source

So I have been playing around and have learned a couple of things: 1) LiveCode has Find and Replace under Edit. I haven't used it yet, but expect that it will solve much of my frustration in updating multiple cards as I tweak the application. 2) If I bring in a replacement image that is not exactly ...
by cusingerBUSCw5N
Wed Aug 15, 2012 10:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: dynamically change an image source
Replies: 14
Views: 4183

Re: dynamically change an image source

I imported an image (call this image1). Later, I modify the image. If I name the modified one the same name as the original (image1), the old image1 continues to appear on LiveCode.....(because I figure that LiveCode has saved that image on its system and doesn't look for any new ones on my computer...
by cusingerBUSCw5N
Wed Aug 15, 2012 10:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: dynamically change an image source
Replies: 14
Views: 4183

Re: dynamically change an image source

YES, but each time I change the image on the image card by importing a new one, the ID number changes... and I have to go back and reference the new number on all the cards. I'm sure I'm doing it wrong, because it is very time consuming... Maybe I need to put a script on the images card to load the ...
by cusingerBUSCw5N
Wed Aug 15, 2012 9:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: dynamically change an image source
Replies: 14
Views: 4183

Re: dynamically change an image source

I want to avoid changing images on multiple cards - so setting them dynamically seems like a great idea. But I am unsure how the images are stored. Do they have to be grabbed from the Internet (in which case the user would need to be connected) - or is there a way to include images when the app is c...
by cusingerBUSCw5N
Tue Aug 14, 2012 1:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field with scrollbar
Replies: 7
Views: 780

Re: Resizing field with scrollbar

It works now... I added a scrollbar to the original one, and for some reason, it now works.
by cusingerBUSCw5N
Tue Aug 14, 2012 1:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field with scrollbar
Replies: 7
Views: 780

Re: Resizing field with scrollbar

This is very frustrating. I am modifying portions of the sample Ticked Off application. The original Ticked Off does not have a scrollbar and does not stay in a limited space, and I want to make those two changes. So, I figured out the space issue, but the scrollbar is driving me nuts. I redid the t...
by cusingerBUSCw5N
Mon Aug 13, 2012 9:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Pass
Replies: 1
Views: 240

Re: Pass

I have learned that pass just allows the variables to move forward..... so that wasn't my problem. It turns out that the button was part of a group. I had to ungroup it, make the changes to the button, and then regroup it.
by cusingerBUSCw5N
Mon Aug 13, 2012 7:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field with scrollbar
Replies: 7
Views: 780

Re: Resizing field with scrollbar

So....what does cause it?
by cusingerBUSCw5N
Mon Aug 13, 2012 7:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Pass
Replies: 1
Views: 240

Pass

I have a chunk of code that is causing problems. I am trying to change an image size that is somehow involved in a Group and is involved with "Pass". I set everything up in on PreOpenCard and then it UNDOES what I did when it calls pass preOpenCard. The line above the problem point says something ab...
by cusingerBUSCw5N
Mon Aug 13, 2012 4:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field with scrollbar
Replies: 7
Views: 780

Resizing field with scrollbar

I am working on resizing objects to fit the user's device when a card opens. I have a field that is pulling in information from a sqlite database. There are more items than I want to show - i.e. I want it to be a scrolling field. When I manually set up the card, I can get it to scroll and the object...
by cusingerBUSCw5N
Mon Aug 13, 2012 3:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: livecode query of sqlite
Replies: 11
Views: 1091

Re: livecode query of sqlite

It works. For others, here's what I learned:
1) "no condition" means a query problem - probably with single and double quotes.
2) for inserting data, you have to include all fields.
3) Use an answer line just after you set the query so you can visually see it.
by cusingerBUSCw5N
Thu Aug 09, 2012 5:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: livecode query of sqlite
Replies: 11
Views: 1091

Re: livecode query of sqlite

First - the earlier post had tusername not tusename - so I corrected that. But it still fails. I tried renaming the variable tSQL to ttry and it shows up in answer....but the same code fails when the variable name is tSQL Do you know why? on deleteAllTasks put name of current card into tusename put ...
by cusingerBUSCw5N
Thu Aug 09, 2012 4:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: livecode query of sqlite
Replies: 11
Views: 1091

Re: livecode query of sqlite

This is just weird. It crashes on the "put" line - not the actual SQL line. So, if I put answer tusername4 it gives me the name of the card. But the next line it fails and it never gets to the answer sql. Just for the record...I manually added the field "tasks" into the SQLlite database - (you can s...
by cusingerBUSCw5N
Thu Aug 09, 2012 3:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: livecode query of sqlite
Replies: 11
Views: 1091

Re: livecode query of sqlite

Yes - of course you are correct. I've done it so many times, that the single and double quotes are beginning to blur in my head... anyway, I fixed that, copied your code directly, but it still doesn't work - same error - no condition (even though if you put an "answer" line before it it will tell yo...

Go to advanced search