Search found 154 matches

by stam
Thu Nov 26, 2020 2:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Resizing Groups
Replies: 26
Views: 259

Re: Resizing Groups

Thats fine for 3 objects - now try it with 75 objects of various types including 12 nested groups. One line of code in Toolbook. Anyway thanks everyone for your help, at least I know I haven’t missed something simple. Back to my coding cave! Yeh resizing groups is probably not the way to cater for ...
by stam
Thu Nov 26, 2020 1:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script editor is lagging
Replies: 18
Views: 309

Re: Script editor is lagging

The Message Box may be key here. During a slowdown, what do you get if you run this in the Message Box?: put the pendingMessages well, triggering a slowdown, i get these messages: Attempt #1: 15934,1606351924.472687,revUpdateSelectionChanged,stack "/Applications/LiveCode Indy 9.6.2 (rc 1).app/Conte...
by stam
Thu Nov 26, 2020 12:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Resizing Groups
Replies: 26
Views: 259

Re: Resizing Groups

Hi Odysseus & all... I'm sure a saw video in lockdown learning suggesting you should have an (invisible) rect containing all the group elements and the elements can be moved/sized relative to the rect rather than the group, so that when you resize, you only resize the rect and other stuff should hap...
by stam
Thu Nov 26, 2020 12:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script editor is lagging
Replies: 18
Views: 309

Re: Script editor is lagging

probably not relevant to the current case, but i've noticed rather severe lag when there is a lot of data in in the message box. I'm developing an app with liveCloud and a fairly typical behaviour for many liveCloud commands is that they will fill the message box with a ton of debug data (usually 36...
by stam
Tue Nov 24, 2020 12:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cubic Spline? Anyone?
Replies: 5
Views: 589

Re: Cubic Spline? Anyone?

https://en.wikiversity.org/wiki/Cubic_Spline_Interpolation#:~:text=Cubic%20spline%20interpolation%20is%20a,Lagrange%20polynomial%20and%20Newton%20polynomial. Ooer: that only served to remind me that, at about 16, I got off the 'Maths Train.' I like to think I'm OK at maths but that wikipedia page m...
by stam
Tue Nov 24, 2020 12:47 am
Forum: Talking LiveCode
Topic: Can't post a request for assistance
Replies: 15
Views: 401

Re: Can't post a request for assistance

Thanks Richard
by stam
Mon Nov 23, 2020 3:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: DataGrid - Looping through all elements, and TSV help
Replies: 5
Views: 188

Re: DataGrid - Looping through all elements, and TSV help

Regarding the example of text containing quotes -- i haven't had text like this, in my cause i just got rid of all quotes as that was my requirement. But i imagine one way to deal with a field containing quoted text, is that when importing a field of the CSV (within the nested loop), check if first ...
by stam
Mon Nov 23, 2020 3:27 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: DataGrid - Looping through all elements, and TSV help
Replies: 5
Views: 188

Re: DataGrid - Looping through all elements, and TSV help

How can I loop through every element in a DataGrid, even if I don't know the column names? Hi @anothercoder, here is the code i use in one of my projects -- and BTW i completely agree with 'CSV must die' :) This code was to import from FileMaker Pro outputs -- many of the field contained flowing te...
by stam
Mon Nov 23, 2020 3:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Calendar widget
Replies: 6
Views: 554

Re: Calendar widget

meh please ignore this post... just realised what the process is to install widgets (colour me embarrassed :D ) Hi, I just downloaded the calendar.lce file myself but having never installed an .lce file am unsure of what to do next. Would you mind expanding on your "meh" :) Thanks Mark Hi Mark, Wha...
by stam
Fri Nov 20, 2020 6:46 pm
Forum: Talking LiveCode
Topic: Can't post a request for assistance
Replies: 15
Views: 401

Re: Can't post a request for assistance

Good to know - thanks @bogs... I just prefix my search terms with the word LiveCode and it works just as well, and doesn't restrict to the forums... i have found the odd very interesting site/resource this way, however by and large the forum is gospel :D In this example i just searched for LiveCode ...
by stam
Fri Nov 20, 2020 6:04 pm
Forum: Talking LiveCode
Topic: How do you set the angle of a line graphic?
Replies: 17
Views: 497

Re: How do you set the angle of a line graphic?

Hey Craig,
Not sure i'll be of any help... but are you referring to a polygon shape and so on?
A 'line' can't have an angle by definition (it's just 2 points, you need 3 for an angle), unless i'm greatly misunderstanding the question?
by stam
Fri Nov 20, 2020 5:56 pm
Forum: Talking LiveCode
Topic: Can't post a request for assistance
Replies: 15
Views: 401

Re: Can't post a request for assistance

Is this forum still the best place for people like me to get LC assistance? EE the forum is am amazing - extremely helpful and polite. It's a real treasure trove of advice and information and extremely experienced livecoders kindly spare a lot of their time to answer questions of every level. I per...
by stam
Thu Nov 19, 2020 2:13 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Standalone compile never leaves closing open stacks
Replies: 20
Views: 755

Re: Standalone compile never leaves closing open stacks

That's really interesting and good to know - thanks Jacque
Don't think i've seen that in the documentation or as a lesson but it should be!
by stam
Tue Nov 17, 2020 1:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Getting the rect of a row in a data grid form?
Replies: 11
Views: 389

Re: getting the rect of a row in a data grid form?

referencing the rect of the field of the row certainly did it -- thanks again Craig From your previous comment - scrolling the group with the listbox would be great, but can't find the handler that would detect the data grid scrolling - how would you do that? ------------- EDIT: actually after quite...
by stam
Mon Nov 16, 2020 4:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Getting the rect of a row in a data grid form?
Replies: 11
Views: 389

Re: getting the rect of a row in a data grid form?

Should be fairly simple to do, if this works.
The only unknown to me is if the rect of a field in a row is relative to the row or the stack.
If it’s the latter everything should be very straightforward...

Will test as soon as I get home and feed back!

Go to advanced search