Search found 332 matches

by cusingerBUSCw5N
Mon Aug 13, 2012 9:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Pass
Replies: 1
Views: 228

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

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

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

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

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

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

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

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...
by cusingerBUSCw5N
Thu Aug 09, 2012 4:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: livecode query of sqlite
Replies: 11
Views: 1045

livecode query of sqlite

I am trying to delete records from a SQLite database that are connected to a specific card. So, I have added a field to the database with the cardname. Now I am trying to delete records connected to that card - but the query fails with the error: (no condition) When I use "answer" before the code, i...
by cusingerBUSCw5N
Wed Aug 08, 2012 1:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set behavior of another object - detect highlighted line
Replies: 8
Views: 896

Re: Set behavior of another object - detect highlighted line

You are absolutely right. I copied the code - but now that I understand the code a bit more, I didn't need the vast majority of it. I have created a datagrid, named it, put my column names in it, and then used this code: on mouseUp put url ("my website with data in it only") into theData replace "<b...
by cusingerBUSCw5N
Tue Aug 07, 2012 10:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set behavior of another object - detect highlighted line
Replies: 8
Views: 896

Re: Set behavior of another object - detect highlighted line

To clarify - I have been able to use the script successfully when I manually enter it on a card. The issue is how to do it "on the fly" - where it creates it's own dataGrid.
by cusingerBUSCw5N
Tue Aug 07, 2012 10:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set behavior of another object - detect highlighted line
Replies: 8
Views: 896

Re: Set behavior of another object - detect highlighted line

"But you can load the script to any and all dataGrids as you create them. There is no limit to this in any sense. It seems to me that it is more compact to have the script in the datagrid than in an external button."

How?
by cusingerBUSCw5N
Tue Aug 07, 2012 9:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set behavior of another object - detect highlighted line
Replies: 8
Views: 896

Re: Set behavior of another object - detect highlighted line

There is definitely a line being selected when the code runs - because it only fires when I have selected a line in my DataGrid. I'm thinking that even though my datagrid appears to be OK...that something is wrong - because it is generating a Data Grid Template every time a button is pushed... so in...
by cusingerBUSCw5N
Tue Aug 07, 2012 9:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Skinning on option menu
Replies: 3
Views: 577

Re: Skinning on option menu

I tried that. I think the only way to do it is to NOT have the arrow on the right - and then size the button so that only the image shows. It seems that the image is automatically centered - you can't align it to the right.
by cusingerBUSCw5N
Tue Aug 07, 2012 7:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set behavior of another object - detect highlighted line
Replies: 8
Views: 896

Set behavior of another object - detect highlighted line

I am getting data remotely and populating a datagrid. Once the datagrid appears, I want the ability to click on a line and get a link address (which is one of the hidden data elements in my datagrid). The code to create the datagrid works. Because the datagrid is created when you click a button on t...

Go to advanced search