Search found 18 matches

by ThomasFireheart
Fri May 29, 2015 1:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: export source code stack
Replies: 10
Views: 7927

Re: export source code stack

Yes, that works wonderfully. :)

Thank you so much !
by ThomasFireheart
Fri May 29, 2015 1:08 pm
Forum: MobGUI
Topic: LC / Mobgui & Changing Input text fields on openCard
Replies: 4
Views: 7628

Re: LC / Mobgui & Changing Input text fields on openCard

Thanks for the reply. I've now learned that: -) If there are multiple handlers named the same, Livecode doesn't issue an error. -) Mobile controls aren't created before the openCard and you need to use the 'send "mobileSetup" to me in 5 milliseconds' or some such workaround. -) In the mobileSetup ha...
by ThomasFireheart
Wed May 27, 2015 4:39 pm
Forum: MobGUI
Topic: LC / Mobgui & Changing Input text fields on openCard
Replies: 4
Views: 7628

Re: LC / Mobgui & Changing Input text fields on openCard

Thanks for the quick reply. Making that change yielded no effect. I've previously tried 'set the mgText...' as well as 'mobileControlSet ...' and now 'put xx into field...' Would you happen to have any other ideas ? I'm trying this with MobGui 1.28 and LC 7.0x and LC 6.7.5 on the iOS Simulator 8.3 D...
by ThomasFireheart
Wed May 27, 2015 4:17 pm
Forum: MobGUI
Topic: LC / Mobgui & Changing Input text fields on openCard
Replies: 4
Views: 7628

LC / Mobgui & Changing Input text fields on openCard

I haven't been able to change input fields during the openCard handler. Is there some secret command or function that I am missing ? Attached is a sample stack that has an input field and two buttons. The input field has default text of "Default Text", but I am trying to change it on the openCard. O...
by ThomasFireheart
Tue May 26, 2015 6:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SEO Slug (PHP preg_replace equivalent)
Replies: 4
Views: 4028

Re: SEO Slug (PHP preg_replace equivalent)

That works wonderfully. I didn't know replaceText could handle regex. Thanks so much - Wish I could hand you one in person, but this will have to do :) http://beeroverip.org/london-porter/
by ThomasFireheart
Tue May 26, 2015 2:01 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SEO Slug (PHP preg_replace equivalent)
Replies: 4
Views: 4028

SEO Slug (PHP preg_replace equivalent)

I need to create a SEO slug from a bit of text - Currently, I use the following PHP code but need some guidance on converting it to Livecode: <?php function create_seo_slug($string, $ext='.html'){ $replace = '-'; $string = strtolower($string); //replace / and . with white space $string = preg_replac...
by ThomasFireheart
Tue May 05, 2015 1:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: export source code stack
Replies: 10
Views: 7927

Re: export source code stack

Hi Thomas, you found a bug in ScriptReporter. ... Please tell us if this works for you. Kind regards Bernd Thank you. I had to delete the substacks that were password protected - or else the program displayed an error on line 47 of stack "Script Reporter" with the error [stack "Script Reporter": ex...
by ThomasFireheart
Tue May 05, 2015 1:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: export source code stack
Replies: 10
Views: 7927

Re: export source code stack

I made the changes and now trying to have it output the source of a simple 'clock' app (as a test before running it on an important file) - and it has been running for ~2 hrs. How long should it take to do this ?
clock-6.rev.zip
Clock
(67.49 KiB) Downloaded 299 times
Script Reporter-Edited.livecode.zip
Script Reporter (Edited)
(101.96 KiB) Downloaded 332 times
by ThomasFireheart
Mon May 04, 2015 8:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: export source code stack
Replies: 10
Views: 7927

Re: export source code stack

I haven't been able to get 'Script Reporter' to work with Livecode 7. Has anyone been able to get it to work or is there any other program that would export all the source code for the stacks.
by ThomasFireheart
Fri Mar 13, 2015 7:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create PDF (multipage table) from Livecode
Replies: 1
Views: 2126

Create PDF (multipage table) from Livecode

Has anyone had any success creating a PDF that includes table data that could span multiple pages from a Livecode card script ? In PHP, I would simply use TCPDF to do something like this: http://www.tcpdf.org/examples/example_011.pdf http://www.tcpdf.org/examples/example_011.phps Is it possible to d...
by ThomasFireheart
Tue Mar 03, 2015 3:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Refresh DataGrid with new info
Replies: 3
Views: 3134

Re: Refresh DataGrid with new info

Doesn't seem to do anything. Imagine a DataGrid with a row template having a label. The first row label has content of 1. The second 2 - and so on. As soon as you mouseDown on a row the contents of each row in the DataGrid would be multiplied by the content of the field you clicked on. This could re...
by ThomasFireheart
Tue Mar 03, 2015 1:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Refresh DataGrid with new info
Replies: 3
Views: 3134

Refresh DataGrid with new info

I have a DataGrid that gets populated by a few commands in openCard. When a user clicks an entry the mouseUp handler runs. Near the end of the mouseUp I need to refresh the data (which most likely changed from the openCard) and have the DataGrid show the latest data. All of my attempts to 'set the d...
by ThomasFireheart
Wed Feb 18, 2015 3:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [Solved] Bar Charts
Replies: 9
Views: 8366

Re: Bar Charts

Just wanted to mention that with Build #64 of ChartMaker I am now able to create the Bar Charts that I wanted. Much thanks goes out to Hugh for quick bug fixes and speedy email replies. If anyone is considering including charts in their Livecode app, I'd definitely recommend ChartMaker.
by ThomasFireheart
Sun Feb 15, 2015 10:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [Solved] Bar Charts
Replies: 9
Views: 8366

Re: Bar Charts

charms wrote:Using a tool like Chartmaker will of course come in handy if you need to do many complex different charts.
To followup, I went ahead and purchased ChartMaker a day or so ago and have three bug/support requests submitted. Will post followup once I can create my 'simple bar chart'.
by ThomasFireheart
Fri Feb 13, 2015 6:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [Solved] Bar Charts
Replies: 9
Views: 8366

Re: Bar Charts

FLCo wrote:ChartMaker supports gradient fills like this...
Hugh,

What would be the code to create that chart ? I messed around with the demo of ChartMaker but couldn't get it to do anything like what you showed which was why I was thinking the only option was using the embedded browser.

Go to advanced search