Search found 6127 matches

by FourthWorld
Mon Nov 12, 2018 1:34 am
Forum: SoCal LiveCode Group
Topic: Meeting: Dec 6, Pasadena
Replies: 0
Views: 91

Meeting: Dec 6, Pasadena

Where Du-par's, back room 214 S. Lake Avenue Pasadena CA 91101 http://www.du-pars.com/dupars_locations.html When Thursday, Dec 6, 7:00PM Who The meetings are open to any and all who have an interest in chatting about LiveCode. What We can have a brief intro to LiveCode if we get enough newcomers RS...
by FourthWorld
Sun Nov 11, 2018 12:42 am
Forum: Talking LiveCode
Topic: Create a handler in a control programmatically.
Replies: 6
Views: 218

Re: Create a handler in a control programmatically.

Would behaviors do the trick? Then you have code in one place, easily assignable to any number of objects as needed.

http://lessons.livecode.com/m/4071/c/16766
by FourthWorld
Sat Nov 10, 2018 11:49 pm
Forum: Talking LiveCode
Topic: Create a handler in a control programmatically.
Replies: 6
Views: 218

Re: Create a handler in a control programmatically.

The script of an object is a property, so common property assignment syntax will do what you need: set the script of btn 1 to tSomeVariableContainingAScript That said, dynamic code is notoriously hard to debug and frequently a disproportionate source of problems during long-term maintenance of a cod...
by FourthWorld
Sat Nov 10, 2018 10:10 pm
Forum: Feature Requests
Topic: Reworked Tool Palette
Replies: 14
Views: 441

Re: Reworked Tool Palette

Why the single-window paradigm works well for other systems but not LC is something that's been discussed often. Rather than re-write that again, I did a quick search - see notes about single-window IDEs in these posts: https://forums.livecode.com/viewtopic.php?f=5&t=31657&start=15#p172439 https://f...
by FourthWorld
Sat Nov 10, 2018 9:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Server loop avoidance.
Replies: 4
Views: 178

Re: Server loop avoidance.

Use a request-and-reply protocol like HTTP and you never need to worry about how to handle this on the server.

If you choose HTTP specifically, you also get a vast universe of tooling, docs, and standardization as well.
by FourthWorld
Fri Nov 09, 2018 9:52 pm
Forum: Feature Requests
Topic: Reworked Tool Palette
Replies: 14
Views: 441

Re: Reworked Tool Palette

richmond62 wrote:
Fri Nov 09, 2018 8:54 pm
blah.png
-
Not for me an interface that takes over the whole desktop: how would I be able to do the "app. dance" then?

8)
Exactly. They heard you, and decided not to go that direction.
by FourthWorld
Fri Nov 09, 2018 12:31 am
Forum: Feature Requests
Topic: Reworked Tool Palette
Replies: 14
Views: 441

Re: Reworked Tool Palette

Probably. They wrote "reworked", not "redesigned". I'm guessing mostly internals to allow the window to be more readily extensible.
by FourthWorld
Fri Nov 02, 2018 8:16 pm
Forum: Talking LiveCode
Topic: Plug-in stack script not surviving sessions
Replies: 11
Views: 293

Re: Plug-in stack script not surviving sessions

Is this reproducible with another stack file?
by FourthWorld
Fri Nov 02, 2018 7:11 pm
Forum: Talking LiveCode
Topic: Plug-in stack script not surviving sessions
Replies: 11
Views: 293

Re: Plug-in stack script not surviving sessions

This shouldn't matter, but we're dealing with unknowns so better to be thorough: are you able to add that handler to the stack script if it is opened from a location other than the Plugins folder?
by FourthWorld
Tue Oct 30, 2018 10:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to create a modal card?
Replies: 5
Views: 263

Re: How to create a modal card?

*Cross-platform note:* Sheets are only used on OS X|OS X systems. If you use the sheet command on a Mac OS, Unix, or Windows system, the stack is displayed as a modal dialog box and the parentStack parameter is ignored. Thanks for posting that, Clint. It's close, but misses a useful nuance about th...
by FourthWorld
Mon Oct 29, 2018 11:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: HTMLTEXT problem
Replies: 15
Views: 557

Re: HTMLTEXT problem

If you find LiveCode enjoyable, there's an edition, LiveCode Server, which can assume the role you're currently planning to use Perl for. I've found it very useful, and more fun than other server scripting languages I've used.
by FourthWorld
Sun Oct 28, 2018 10:21 am
Forum: Windows
Topic: Putting Folder Names/Contents Into A Variable.
Replies: 3
Views: 236

Re: Putting Folder Names/Contents Into A Variable.

In v9 new params have been added to the files function to allow you to get a list of files in a specified folder:

Code: Select all

put files([<targetFolder>, [short|long]])
by FourthWorld
Fri Oct 26, 2018 6:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: HTMLTEXT problem
Replies: 15
Views: 557

Re: HTMLTEXT problem

...I can see a need for the main server software and several specialised ones running separately to speed up the data processing system, rather than putting it all in the one server program. Any thoughts? There are many ways to scale servers. What is your current setup, and where is your most signi...
by FourthWorld
Thu Oct 25, 2018 5:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is indirect addressing possible?
Replies: 9
Views: 351

Re: Is indirect addressing possible?

We move data between fields often. An example of a name containing characters preventing this, along with the code that isn't working, would be helpful.
by FourthWorld
Thu Oct 25, 2018 3:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is indirect addressing possible?
Replies: 9
Views: 351

Re: Is indirect addressing possible?

The text of a field is a property, like width, height, and the others. While it's sometimes useful to be able to use the shorthand form of "put fld 1 into fld 2", the complete form of addressing a field property is useful here: put "MyFieldName" into tFld1 put the text of fld tFld1 into fld "SomeOth...

Go to advanced search