Search found 339 matches

by cusingerBUSCw5N
Thu Aug 09, 2012 4:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: livecode query of sqlite
Replies: 11
Views: 1090

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

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

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

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

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

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

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...
by cusingerBUSCw5N
Tue Aug 07, 2012 5:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Skinning on option menu
Replies: 3
Views: 615

Skinning on option menu

I am so excited because I've figured out the functionality - now I have to skin the application. I am using option menus. It allows icons and borders for skinning - but leaves a really ugly left space (in addition to the right arrow bar, which I expect). How do I eliminate the ugly left? (my backgro...
by cusingerBUSCw5N
Tue Aug 07, 2012 5:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Onload events or openCard
Replies: 5
Views: 2651

Re: Onload events or openCard

It works now. I think one of the problems I have had is that I've been using multiple versions of my application with the same names - without using "File" - "Close and remove from memory". Now that I am being more careful to only have one open at a time, I am having fewer problems.

Thanks
by cusingerBUSCw5N
Mon Aug 06, 2012 6:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Onload events or openCard
Replies: 5
Views: 2651

Onload events or openCard

Does LiveCode have any onload events? I want to load an image from the Internet but I don't want to connect it to a button. I want it to automatically load. I looked at OpenCard - but either that isn't the solution or I am putting OpenCard in the wrong spot - because it doesn't work. I was trying a ...
by cusingerBUSCw5N
Mon Jul 30, 2012 11:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: loading data into DataGrid
Replies: 8
Views: 1400

Re: loading data into DataGrid

got it... problem was html remnants thanks!
by cusingerBUSCw5N
Mon Jul 30, 2012 4:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: loading data into DataGrid
Replies: 8
Views: 1400

Re: loading data into DataGrid

I DID IT! I don't know why, but I changed the line: put true into firstLineAreNames and switched it to false ALL THE DATA APPEARED! - including the first line that I had set up as titles. So, I manually named the columns and eliminated the titles in my data and it absolutely works. I would be nice t...
by cusingerBUSCw5N
Sat Jul 28, 2012 4:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: loading data into DataGrid
Replies: 8
Views: 1400

Re: loading data into DataGrid

The second column is found after "usetab" So - for this record http://build.export.gov/main/mrktresearch/eg_main_018208usetabCustom market research services from Export.Gov (this is truncating the middle part of the record - which is ...mrktresearch/eg_main_018208usetabCustom....) I have LiveCode re...
by cusingerBUSCw5N
Sat Jul 28, 2012 4:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: loading data into DataGrid
Replies: 8
Views: 1400

Re: loading data into DataGrid

OK - I'm getting a lot closer. LiveCode has loaded the columns correctly, loaded information for the first column, but the second column is blank. Here is my code: (I am bringing in an html file so I have to switch <br> with return and usetab with tab so that it can be read as tab delimited informat...
by cusingerBUSCw5N
Sat Jul 28, 2012 4:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Saving as a RevLet
Replies: 16
Views: 1503

Re: Saving as a RevLet

To close this out - I have finally figured out that my ISP did not have my new IP address on the list of approved IP addresses- so the firewall was blocking it. All the code I was using on LiveCode's end was correct. But I realized that contacting the database directly was not a good idea because of...

Go to advanced search