On 20/06/2022 00:19, Bob Sneidar via use-livecode wrote:
Well code shared commonly between multiple objects should generally be in an
object shared by those objects. That can be the card, stack, behavior or
front/back script. The script of a group as well.
Absolutely. And the converse - code
Well code shared commonly between multiple objects should generally be in an
object shared by those objects. That can be the card, stack, behavior or
front/back script. The script of a group as well.
For example I have a behavior for all my datagrids. Each datagrid has a
property called gridco
One reason would be if you were trying to use behaviors so you could manage
your code with a repository like Git. This would greatly reduce the number of
behavior scripts that you would create. One app that work on has the code in
the stack’s behavior script.
Sent from my iPhone
> On Jun 19,
I've noticed that in a lot of the example code I've seen recently,
there's a bit of a common pattern.
In the card script, there will be code like
on mouseUp
switch the short name of the target
case "first"
doCommandFirst
break
case "another"
doCommandAnother
This looks really useful. Thanks!
Bill
William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara
> On Jun 19, 2022, at 7:54 AM, Ralf Bitter via use-livecode
> wrote:
>
> Thank you, Mike.
>
>
>> On 19.06.22 15:17, Mike Kerner via use-livecode wrote
Thank you, Mike.
On 19.06.22 15:17, Mike Kerner via use-livecode wrote:
I, for one, appreciate these sorts of messages.
On Fri, Jun 17, 2022 at 8:43 AM Ralf Bitter via use-livecode <
use-livecode@lists.runrev.com> wrote:
At the risk of getting on your nerves, but there is another
new versio
I, for one, appreciate these sorts of messages.
On Fri, Jun 17, 2022 at 8:43 AM Ralf Bitter via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
> At the risk of getting on your nerves, but there is another
> new version of the "universal button" widget.
>
> Added text alignment controls an
A workaround to get the alias folders into the folderlist.
Maybe there is a more elegant approach?
function theFolders targetFolder
put the defaultFolder into oldDef
set the defaultFolder to targetFolder
put the folders into folderList
put the files into fileList
repeat for each lin
Hi,
Aliases to foiders are missing in "the folders" function
In the Dictionary for folders:
Aliases (on OS X systems), symbolic links (on Linux systems) and shortcuts (on
Windows systems) are included in the list only if they refer to a folder.
Is it a bug or could it be my mistake?
This is on