Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Mark Waddingham via use-livecode
On 2018-04-26 19:06, Bob Sneidar via use-livecode wrote: Hi all. I have a group that contains a number of objects, buttons, menus, fuelds and groups. I just noticed that if I disable a group (so that none of the objects in the group can be interacted with) I get the desired effect. However when

Re: Splitting long elements into two lines in an Option Menu

2018-04-26 Thread J. Landman Gay via use-livecode
Or use a normal field as Craig suggested and create soft-wrapped lines by inserting ASCII 11 at line breaks. These select as normal lines but visually appear as separate lines. From the 5.5 release notes: The engine will now interpret a numToChar(11) character in a field paragraph as an expli

Re: Splitting long elements into two lines in an Option Menu

2018-04-26 Thread Terry Judd via use-livecode
Or perhaps use a form type datagrid - which will allow you to present and select multi-lined option more readily. Regards, Terry... On 27/04/2018 2:33 pm, "use-livecode on behalf of dunbarx via use-livecode" wrote: Hi. If I were you, with the task you laid out, I would not use

Re: Splitting long elements into two lines in an Option Menu

2018-04-26 Thread dunbarx via use-livecode
Hi. If I were you, with the task you laid out, I would not use an option menu. It is not good with wide menuItems, and it is not natural, if even possible, to select multiple lines in the way you want. Use a list field instead. A field has many properties that are denied an optionMenu, which is r

Splitting long elements into two lines in an Option Menu

2018-04-26 Thread Heriberto Torrado via use-livecode
Dear Livecode programmers, I need you good expertise again. I'm development an small app for a French insurance company. I have an option menu button. Some elements in this option menu are very large. Example: /Dialyse rénale, insuffisance rénale, maladie rénaleDID, diabète de type 1//,//diabè

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Alex Tweedly via use-livecode
Thanks Brian, Bernd, and everyone else. When I first saw it (in the form described in Brian's email), I thought - hmmm, not sure when anyone would use that. Then I saw an example using split (as described in Bernd's email), and thought - maybe I can use that some day. :-) Well - the day has

Re: Detailed File Information for One File

2018-04-26 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > I can't find anything on the forums, which is par for the course, evwn > though I know it's been discussed. Is there an LC way to get details > about a file without shelling out to do it? I need to get the last > modified date of a file so I can check to see if I need to upda

Detailed File Information for One File

2018-04-26 Thread Bob Sneidar via use-livecode
I can't find anything on the forums, which is par for the course, evwn though I know it's been discussed. Is there an LC way to get details about a file without shelling out to do it? I need to get the last modified date of a file so I can check to see if I need to update the version in a databa

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-26 Thread Geoff Canyon via use-livecode
On Tue, Apr 3, 2018 at 8:30 AM, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > a stack that will build a text file of the scripts of > all of the open (non-IDE) stacks (except itself). ​I just saw this. FYI, in Navigator you can right-click on any selection of items and t

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Richard Gaskin via use-livecode
Dick Kriesel to the rescue again! Thanks for that background. Comforting to know it's not merely an anomaly, but a well-considered design decision. It's such a cool thing to be able to do. It will change many algos here... -- Richard Gaskin Fourth World Systems Dick Kriesel wrote: On Apr

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Dr. Hawkins via use-livecode
On Thu, Apr 26, 2018 at 11:58 AM, Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > I had no clue you could do that! Thank you! > Yeah, but if you're doing any level of *serious* matrix multiplication, there's no substitute for Fortran: it's a basic feature of the language.

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Brian Milby via use-livecode
It was probably driven by the data structure more than anything. To upgrade enabled from one bit to two everywhere would have been non-trivial (including the now required parent check for the value). On Thu, Apr 26, 2018 at 4:59 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Mark Wieder via use-livecode
On 04/26/2018 10:17 AM, Niggemann, Bernd via use-livecode wrote: > If I understand correctly that you want then > > - > put "style,hidden" into tPathToHidden > split tPathToHidden by comma > > put "true" into tScriptA[i][tPathToHidden] > > lets you

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Bob Sneidar via use-livecode
Or else not inherited. Bob S > On Apr 26, 2018, at 14:56 , Brian Milby via use-livecode > wrote: > > For that to work, “enabled” would need to be a triple state inherited > property. ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Brian Milby via use-livecode
For that to work, “enabled” would need to be a triple state inherited property. On Thu, Apr 26, 2018 at 4:34 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 04/26/2018 12:18 PM, dunbarx via use-livecode wrote: > > Does it make it more palatable to think about it the ot

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Bob Sneidar via use-livecode
Exactly. This is not a point of reason as much as it is a decision someone made a long time ago about how to treat certain properties of objects within a group when the same property of the group was modified. Apparently there is a special case for enabled. Someone decided that enabling a group

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Dick Kriesel via use-livecode
> On Apr 26, 2018, at 12:14 PM, Brian Milby via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > > tPath can also be thought of as a (proper) list which makes a little more > sense. Mark W would need to answer the why. The following excerpts provide a quote from Mark W: > On Mar

Mac app code signing for beginners

2018-04-26 Thread Graham Samuel via use-livecode
In response to messages on both lists, this is an explanation of the way I’ve successfully code-signed apps for Mac using the simplest possible methods. I’m talking about desktop apps made in LC to run on Mac OSX - I am currently using LC9.0. This seems to work for me (of course YMMV). There are

Re: Open printing to PDF error

2018-04-26 Thread Paul Dupuis via use-livecode
On 4/26/2018 5:22 PM, Mark Wieder via use-livecode wrote: > On 04/26/2018 09:46 AM, Paul Dupuis via use-livecode wrote: > >> Presumably the folder exists since it was just selected by the user via >> the 'answer file' command. > > I assume that was just a typo, but just in case... you really meant

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Mark Wieder via use-livecode
On 04/26/2018 12:18 PM, dunbarx via use-livecode wrote: Does it make it more palatable to think about it the other way around? There should be no real difference: You have a group where one button is already enabled, and one already disabled. By disabling the group, should the enabled button st

Re: Open printing to PDF error

2018-04-26 Thread Mark Wieder via use-livecode
On 04/26/2018 09:46 AM, Paul Dupuis via use-livecode wrote: Presumably the folder exists since it was just selected by the user via the 'answer file' command. I assume that was just a typo, but just in case... you really meant 'answer folder' there, right? -- Mark Wieder ahsoftw...@gmail.

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Bob Sneidar via use-livecode
Not while the group is disabled, but then afterwards, yes. Bob S > On Apr 26, 2018, at 12:18 , dunbarx via use-livecode > wrote: > > Does it make it more palatable to think about it the other way around? There > should be no real difference: > > You have a group where one button is already

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread dunbarx via use-livecode
I think this is expected behavior. If you have a group of three buttons: 1- disable one of them 2- disable the group 3 enable the group You do get all three buttons enabled. But the thinking is likely along the lines of: "That guy enabled the group, right? That means enable the group, which inc

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Brian Milby via use-livecode
My guess... it is because disabled is not an inherited property. All of the other examples have been properties that are inherited if not explicitly set. As such a decision was made that setting the enabled property on a group effects all objects in the group. __

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Richard Gaskin via use-livecode
As long as this (undocumented?) anomaly exists, might as well put it to good use - this is a step toward xPath-like functionality for array queries: on mouseUp -- Load array: put "something" into tA["this"]["is"][1]["path"] -- put PathQuery("this/is/1/path", tA) end mouseUp function

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread dunbarx via use-livecode
Does it make it more palatable to think about it the other way around? There should be no real difference: You have a group where one button is already enabled, and one already disabled. By disabling the group, should the enabled button stay enabled? Craig -- Sent from: http://runtime-revolu

Re: Forums down: locally or globally?

2018-04-26 Thread Keith Martin via use-livecode
On 26 Apr 2018, at 19:16, Richmond Mathewson via use-livecode wrote: > The forums are inaccessible here in Bulgaria at the moment. They were for me too (in London, UK), for a bit. k ___ use-livecode mailing list use-livecode@lists.runrev.com Please vi

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Brian Milby via use-livecode
tPath can also be thought of as a (proper) list which makes a little more sense. Mark W would need to answer the why. Not sure I could deduce it from the source all that quickly. On Thu, Apr 26, 2018 at 2:08 PM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike Bonner w

Re: Building for Android in v9

2018-04-26 Thread Richard Gaskin via use-livecode
Paul Richards wrote: > From: Richard Gaskin: >> Is there a known issue with building Android APKs in v9? >> >> Here it goes through the process surprisingly quickly, then reports >> that it completed successfully - only to find the target build folder >> empty. :( >> You wouldn't happen to be us

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Richard Gaskin via use-livecode
Mike Bonner wrote: > I had no clue you could do that! Thank you! > > On Thu, Apr 26, 2018 at 8:43 AM, Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> on mouseUp >>put "answer" into tA["firstkey"]["secondkey"] >>put "firstkey" into tPath[1] >>put "second

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Paul Dupuis via use-livecode
On 4/26/2018 2:45 PM, Richard Gaskin via use-livecode wrote: > So if we proposed a change to do what you and I feel is more logical, > the current behavior was put into place long enough ago that we'd now > have to think about compatibility issues. :( Bummer :-( I must admit I have never knowingl

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Mike Bonner via use-livecode
I had no clue you could do that! Thank you! On Thu, Apr 26, 2018 at 8:43 AM, Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > on mouseUp >put "answer" into tA["firstkey"]["secondkey"] >put "firstkey" into tPath[1] >put "secondkey" into tPath[2] >put tA[tPath

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > I have a multi-dimension array, say created by > > put "answer" into tArray["firstkey"]["secondkey"] > > Is there some way or format to specify the array elements using the > "path" of the keys, rather than each one at its own level) ? > > i.e. something like (but obviously

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Bob Sneidar via use-livecode
I suppose a better example would be setting the backgroundColor of a group to blue. Should ALL the objects backgroundColor also be set to blue? If not, then why the disabled property? Bob S > On Apr 26, 2018, at 11:50 , Bob Sneidar via use-livecode > wrote: > > You may be correct. This mig

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Bob Sneidar via use-livecode
You may be correct. This might be the expected behavior. But I am not convinced by the logic. It would be like saying that by dying my hair orange, I obviously wanted all the hair on my body to also be orange, or that I obviously wanted all my children's hair to be orange. Or that by locking me

Forums down: locally or globally?

2018-04-26 Thread Richmond Mathewson via use-livecode
The forums are inaccessible here in Bulgaria at the moment. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > On 4/26/2018 1:06 PM, Bob Sneidar via use-livecode wrote: >> Hi all. >> >> I have a group that contains a number of objects, buttons, menus, >> fuelds and groups. I just noticed that if I disable a group (so >> that none of the objects in the group can be interacted with) I >>

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread dunbarx via use-livecode
i would say this is expected behavior. If you disable a control in a group, and then enable the group, LC assumes you want to, er, enable the group, and that means all members of that group. So as you mentioned, make a gadget that stores the states of all the members, and resets when the group is

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Paul Dupuis via use-livecode
On 4/26/2018 1:06 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > I have a group that contains a number of objects, buttons, menus, fuelds and > groups. I just noticed that if I disable a group (so that none of the objects > in the group can be interacted with) I get the desired effect. Ho

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Niggemann, Bernd via use-livecode
Alex Tweedly wrote: >Is there some way or format to specify the array elements using the >"path" of the keys, rather than each one at its own level) ? If I understand correctly that you want then - put "style,hidden" into tPathToHidden split tPathToHidden by comma put

Re: Open printing to PDF error

2018-04-26 Thread Bob Sneidar via use-livecode
Yeah, error messages can be misleading sometimes. Often the command is simply returning a message the OS or API passed back to it, and that message can be less than helpful. For example, on copiers, when using StartTLS for encryption in SMTP communications, the server may reject the connection f

Enable/disable Group enables/disables all children

2018-04-26 Thread Bob Sneidar via use-livecode
Hi all. I have a group that contains a number of objects, buttons, menus, fuelds and groups. I just noticed that if I disable a group (so that none of the objects in the group can be interacted with) I get the desired effect. However when re-enabling the group, it *ALSO* re-enables ALL the obj

Re: Open printing to PDF error

2018-04-26 Thread Paul Dupuis via use-livecode
The file path is selected by the user through a standard 'answer file ... ' dialog. The code does not currently check to see if the folder the user selected for the file is writable, but tests of trying to save to a read-only (non writable) folder on Windows results in a controlled error dialog bei

Re: OT: Putting 3 audio apps into the online stores. Compare and contrast with LiveCode might be cool

2018-04-26 Thread Bob Sneidar via use-livecode
Yeah, I skimmed over it. I think he is learning the wrong lessons at times. He calls Apple "hostile" in several places partly because they "prevent" his webb app from communicating with other apps on the iphone, and because they charge $99 a year to allow certain features on a real app to do the

Re: Programmatically changing cRevStandaloneSettings was [Q on Accessing multi-dimension arrays.}

2018-04-26 Thread Brian Milby via use-livecode
The comma in a key is the old way to get multi-dimensional arrays. That is how the standalone keys are formed. The blank key thing is due to an issue with the tree view handling keys with commas. On Thu, Apr 26, 2018 at 9:47 AM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: use-livecode Digest, Vol 175, Issue 43

2018-04-26 Thread Matthias Rebbe via use-livecode
The reviews are previewed by the people of G2Crowd first. I´ve also wrote a review at the time i wrote the post in the mailing list. It take some time. Matthias > Am 26.04.2018 um 17:12 schrieb Todd Fabacher via use-livecode > : > > I put in a review of LiveCode at g2crowd.com. But it still

Re: use-livecode Digest, Vol 175, Issue 43

2018-04-26 Thread Todd Fabacher via use-livecode
I put in a review of LiveCode at g2crowd.com. But it still says there are none. --Todd On Wed, Apr 25, 2018 at 6:00 AM, wrote: > > Today's Topics: > >1. Re: Typesetting Fields (Paul Hibbert) >2. Livecode at g2crowd.com - (Matthias Rebbe) > > > --

Re: Open printing to PDF error

2018-04-26 Thread Bob Sneidar via use-livecode
NVM you provide a file path. You may want to check that the folder exists before writing the pdf. Do you ask the end user where they want to put the file first, or do you assume a destination folder? Bob S > On Apr 26, 2018, at 07:57 , Bob Sneidar via use-livecode > wrote: > > Just a guess,

Re: Open printing to PDF error

2018-04-26 Thread Bob Sneidar via use-livecode
Just a guess, check the current default folder. It may have permissions set, or may no longer exist. Bob S > On Apr 26, 2018, at 06:36 , Paul Dupuis via use-livecode > wrote: > > I have a user who ran into the error "printing: Unknown destination: > (Line 0, column 0)" when executing a lin

RE: Building for Android in v9

2018-04-26 Thread Clarence Martin via use-livecode
Also, is this a new Library? I used to be able to create Android apps before without this. -Original Message- From: use-livecode On Behalf Of Paul Richards via use-livecode Sent: Thursday, April 26, 2018 6:43 AM To: How to use LiveCode Cc: Paul Richards Subject: RE: Building for Android

RE: Building for Android in v9

2018-04-26 Thread Clarence Martin via use-livecode
Are you talking about the Map in the inclusions library? If not, what Map API key are you talking about? -Original Message- From: use-livecode On Behalf Of Paul Richards via use-livecode Sent: Thursday, April 26, 2018 6:43 AM To: How to use LiveCode Cc: Paul Richards Subject: RE: Buildi

Programmatically changing cRevStandaloneSettings was [Q on Accessing multi-dimension arrays.}

2018-04-26 Thread Ralph DiMola via use-livecode
This dovetails into some weirdness I am seeing. I'm trying to change the standalone settings Custom property group cRevStandaloneSettings. I want to programmatically fill in the mobile icons/splash pages. The android key has the expansion triangle but all that's there is one blank key. But the m

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Brian Milby via use-livecode
on mouseUp put "answer" into tA["firstkey"]["secondkey"] put "firstkey" into tPath[1] put "secondkey" into tPath[2] put tA[tPath] end mouseUp On Thu, Apr 26, 2018 at 9:16 AM, Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > > I have a (vague) memory that there i

Q on Accessing multi-dimension arrays.

2018-04-26 Thread Alex Tweedly via use-livecode
I have a (vague) memory that there is some way to do this ... but can't remember and haven't had any luck searching for it I have a multi-dimension array, say created by put "answer" into tArray["firstkey"]["secondkey"] Is there some way or format to specify the array elements using th

OT: Putting 3 audio apps into the online stores. Compare and contrast with LiveCode might be cool

2018-04-26 Thread Mark Rauterkus via use-livecode
Hi, Marketing type alerts: Interesting article with compare and contrast views. Might be good to pick up what he began and tell the LiveCode story too. https://medium.freecodecamp.org/i-built-a-pwa-and-published-it-in-3-app-stores-heres-what-i-learned-7cb3f56daf9b -- Ta. Mark Rauterkus

RE: Building for Android in v9

2018-04-26 Thread Paul Richards via use-livecode
You wouldn't happen to be using the new Map Widget by any chance? If You haven't entered the Map API key then no APK file is produced, only the build folder - and no error anywhere (for me anyway) -Original Message- From: use-livecode On Behalf Of Richard Gaskin via use-livecode Sen

Open printing to PDF error

2018-04-26 Thread Paul Dupuis via use-livecode
I have a user who ran into the error "printing: Unknown destination:  (Line 0, column 0)" when executing a line in my code that was "Open printing to PDF " This error (in fact NO ERRORs) are listed under the "open printing to PDF" entry in the dictionary. If 'the result is "cancel" ' is the only d

RE: Building for Android in v9

2018-04-26 Thread Ralph DiMola via use-livecode
No problem here on 9.0 GM using Win 10. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Sent: Thursday, April 26, 2018 2:37