Search found 49 matches

by Xero
Sat Sep 28, 2019 12:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Learning to read code
Replies: 3
Views: 206

Re: Learning to read code

That's a tough one... Code is contextualised, so it depends on what app you are writing, not necessarily just code... For example, if I am writing a database app, different code will be used than if I were writing an image manipulation app. Some overlap will happen with "on mouseDown" commands, but ...
by Xero
Fri Aug 23, 2019 12:43 am
Forum: Databases
Topic: UK Format Date Search- SQL
Replies: 5
Views: 785

Re: UK Format Date Search- SQL

Thanks SparkOut, I don't know what DB engine I am using... I just created an SQLite DB in Livecode... I' not so advanced to know what I am doing! I think I followed a tutorial on the LC site... These were my first two versions, ' DD/MM/YYYY' first, as it was the most logical. I am aware of the "Don'...
by Xero
Thu Aug 22, 2019 1:54 pm
Forum: Databases
Topic: UK Format Date Search- SQL
Replies: 5
Views: 785

Re: UK Format Date Search- SQL

Sorry Bogs,
That just runs through standard formatting. I need UK, DD/MM/YYYY formatting, and I need to be able to call it up as that from a database.
Thanks anyway!
X
by Xero
Thu Aug 22, 2019 11:29 am
Forum: Databases
Topic: UK Format Date Search- SQL
Replies: 5
Views: 785

UK Format Date Search- SQL

Hey brainstrust... I'm using an SQL Database with a Column called "Date" that has dates in a format dd/mm/yyyy I'm trying to do a search for dates between a range and return it to a table. I just can't get it to work. I found this code that I have adapted to suit my names: put "SELECT * from EPAccou...
by Xero
Mon Aug 12, 2019 3:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Identifying Current Stack (Solved)
Replies: 3
Views: 214

Re: Identifying Current Stack

As always Klaus! Works like a charm. :D The Dictionary does say "Long name", but us dummies don't know we need to ask for the short name! And one of the examples simply reads "the topStack" which doesn't help much... and it actually needs 'the' at the start of it too... Us dummies need it spelled ou...
by Xero
Mon Aug 12, 2019 2:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Identifying Current Stack (Solved)
Replies: 3
Views: 214

Identifying Current Stack (Solved)

I feel so stupid asking this, but the documentation is a little light and I can't seem to get the right words... I have an app with multiple stacks. I have a script that appears in an object that gets cloned to all stacks. In that script, I want certain sections to work only on certain stacks, and n...
by Xero
Wed Jul 24, 2019 1:03 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 362

Re: help with filter command

do you want to filter lines that have "abc"? What you have is a tab delimited string, so effectively, the tab doesn't exist (to what is reading the list). That being, what is being looked for is "abc", not "[tab] abc [tab]". The tab is not part of the data, it's just a separator. Try filtering by "a...
by Xero
Tue Jul 23, 2019 8:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can you set custom properties by referenced value?
Replies: 5
Views: 477

Re: Can you set custom properties by referenced value?

I'm not sure if I get exactly what you want (honestly, I am not familiar with graph widgets), but, if you are trying to find code to track whether the data has changed, you might consider trying something like this: Assign a variable to hold the current line data that you are checking (tCheck- this ...
by Xero
Sun Jul 14, 2019 5:26 am
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 1198

Re: Encapsulated Image in external File

Thanks Jacque and -hh, I have played with quite a few images now, and it seems that the two I first used seem to be the only ones that are having issues. They seem to be the exception rather than the rule. For what I need, I think I can accept that those couple of images just won't work, but the bul...
by Xero
Sat Jul 13, 2019 3:39 pm
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 1198

Re: Encapsulated Image in external File

I am using Windows 10 and Livecode Community 9.0.4. I haven't changed the paintcompression. I don't want the image referenced (I can get it to work with referenced images), because it's easy to lose data if the referenced image file is moved or deleted... I hope that helps with context... I am using...
by Xero
Sat Jul 13, 2019 9:26 am
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 1198

Re: Encapsulated Image in external File

Using "The text of the image" yields no data in the file, with or without base64Encode. Using "the imagedata of the image" and Base64Encode of colour image yields no data written into the file. In a B&W image, the file has data. Consequently, B&W works, Colour doesn't. I tried a couple of different ...
by Xero
Sat Jul 13, 2019 5:23 am
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 1198

Re: Encapsulated Image in external File

Thanks -hh and jacque. I will give the base64encode a go when I next get on to it. I have tried "the text of img "Imagename" but that didn't save anything into the file. Only the imagedata yielded something into the file. I'll see how it goes. As for the binary file... I don't think I am saving as a...
by Xero
Fri Jul 12, 2019 11:29 am
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 1198

Encapsulated Image in external File

Hi all! Long time no post. I have been chugging through an app idea for painters that allows: - An image to be loaded - A grid to be laid on the image (3x3 etc. or vertical only, or horizontal only, or angled) - Grid colour and transparency changes - Copying the image and greyscaling it - Showing on...
by Xero
Wed Aug 22, 2018 1:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid Form Sort Column
Replies: 9
Views: 829

Re: Data Grid Form Sort Column

Damn! You beat me to the punch!!! I essentially did the same thing, just in a less elegant way... if the hilited of button "BPMNo" of card "OneVideo" then put "6,17,19,20,29,30" into tAList set the itemdelimiter to comma repeat for each item x in TAList put the dgDataOfLine[x] of group "DataGrid 1" ...
by Xero
Wed Aug 22, 2018 1:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid Form Sort Column
Replies: 9
Views: 829

Re: Data Grid Form Sort Column

thanks Klaus... that was the script that I was using... when I put it in as such: 10 put GetDataOfLine(x,"Rating") of group "DataGrid 1" of Card "ExerciseCard" into theRating I get the following error: button "Get Exercises": compilation error at line 10 (Commands:missing ',') near "into" char 70. T...

Go to advanced search