Re: controlNames??
It's all coming back to me... ;-P Bob S > On Oct 11, 2017, at 09:12 , panagiotis merakos via use-livecode >wrote: > > No problem Bob. In fact this bug report was submitted by you :) > > Panos ___ 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/listinfo/use-livecode
Re: controlNames??
No problem Bob. In fact this bug report was submitted by you :) Panos -- On Wed, Oct 11, 2017 at 5:02 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks Panos. I worked around it with a simple line that checks to see if > it is a number and if not to get the id of the control. I remember now > thinking how odd it was to return IDs for controlnames. :-) > > Bob S > > > > On Oct 11, 2017, at 09:00 , panagiotis merakos via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Hi Bob, > > > > Yes, this was a bug, fixed in 8.1.7 RC1: > > > > http://quality.livecode.com/show_bug.cgi?id=20201 > > > > Best, > > Panos > > > ___ > 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/listinfo/use-livecode > ___ 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/listinfo/use-livecode
Re: controlNames??
Thanks Panos. I worked around it with a simple line that checks to see if it is a number and if not to get the id of the control. I remember now thinking how odd it was to return IDs for controlnames. :-) Bob S > On Oct 11, 2017, at 09:00 , panagiotis merakos via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi Bob, > > Yes, this was a bug, fixed in 8.1.7 RC1: > > http://quality.livecode.com/show_bug.cgi?id=20201 > > Best, > Panos ___ 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/listinfo/use-livecode
Re: controlNames??
Hi Bob, Yes, this was a bug, fixed in 8.1.7 RC1: http://quality.livecode.com/show_bug.cgi?id=20201 Best, Panos -- On Wed, Oct 11, 2017 at 4:57 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Did the controlNames change from 8.1.6 to 8.1.7? My code is referring to a > control ID. In 8.1.6, the controlNames is a list of numbers. In 8.1.7 rc3 > it is an actual list of NAMES. > > Bob S > > > > ___ > 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/listinfo/use-livecode > ___ 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/listinfo/use-livecode
controlNames??
Did the controlNames change from 8.1.6 to 8.1.7? My code is referring to a control ID. In 8.1.6, the controlNames is a list of numbers. In 8.1.7 rc3 it is an actual list of NAMES. Bob S ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
I found it. It's the menubar. Not sure why it at that position. I have a handler that sets the topleft of the menubar group to the topleft of the stack after setting the width of the group to the width of the stack because with Windows the menubar is opaque and it looks crappy when the menubar only goes part way across the window. It should always be 0,0, but neither here nor there. I am still able to alter the effectiveRect by dragging the right edge of the window to make the stack wider. I already submitted a bug report about that. Bob S > On Jul 31, 2017, at 14:34 , Richard Gaskin via use-livecode >wrote: > > Bob Sneidar wrote: > > Richard Gaskin wrote: > >> Could there be a group with hidden border and a margin that puts the > >> left edge at -1? > > > > Yes, but the formatted rect is supposed to IGNORE hidden objects. > > The group's visible property set to false? > > Or is it just that the showBorder is false? > > If the former, file a bug report. > > If the latter, problem solved. > > -- > Richard Gaskin ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Bob Sneidar wrote: > Richard Gaskin wrote: >> Could there be a group with hidden border and a margin that puts the >> left edge at -1? > > Yes, but the formatted rect is supposed to IGNORE hidden objects. The group's visible property set to false? Or is it just that the showBorder is false? If the former, file a bug report. If the latter, problem solved. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Yes, but the formatted rect is supposed to IGNORE hidden objects. Bob S > On Jul 31, 2017, at 11:56 , Richard Gaskin via use-livecode >wrote: > > Bob Sneidar wrote: > > >> On Jul 28, 2017, at 16:10 , Richard Gaskin wrote: > >> Is there maybe an object at -1 left? When I tested here the > >> formattedRect returned the bounds of all visible objects reliably. > > > > Possible, although it is not a VISIBLE one. I selected all with select > > grouped on and off. There is nothing I can see to account for it. > > Selection should not affect the formattedRect. > > Could there be a group with hidden border and a margin that puts the left > edge at -1? > > -- > Richard Gaskin ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Bob Sneidar wrote: >> On Jul 28, 2017, at 16:10 , Richard Gaskin wrote: >> Is there maybe an object at -1 left? When I tested here the >> formattedRect returned the bounds of all visible objects reliably. > > Possible, although it is not a VISIBLE one. I selected all with select > grouped on and off. There is nothing I can see to account for it. Selection should not affect the formattedRect. Could there be a group with hidden border and a margin that puts the left edge at -1? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Possible, although it is not a VISIBLE one. I selected all with select grouped on and off. There is nothing I can see to account for it. Bob S > On Jul 28, 2017, at 16:10 , Richard Gaskin via use-livecode >wrote: > > Is there maybe an object at -1 left? When I tested here the formattedRect > returned the bounds of all visible objects reliably. > > -- > Richard Gaskin ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
I use Firefox for dev'ing on the html5 engine as it tends to be at the forefront of 'what is to come' and also I find it's dev console somehow more responsive and 'better' than Chrome's and Safari's when dealing with huge blob of JS that the html5 engine is. For everything else I use Chrome. In all fairness to the Mozilla crew they are currently rewriting the core of FireFox in Rust (the Servo project). In fact Rust has been developed to do that. When that is done we can fully expect that FireFox will be the most secure browser (at least as far as the bounds of the layout engine / JS engine goes) when evaluated from the point of view of having any exploitable vulnerabilities caused by coding errors (as you can't make such errors in Rust). So if FireFox itself is going through a bit of a end-user low point it is likely in part to that (and the division of resources they must be facing). Warmest Regards, Mark Sent from my iPhone > On 28 Jul 2017, at 15:13, Mark Wieder via use-livecode >wrote: > >> On 07/28/2017 01:52 PM, Bob Sneidar via use-livecode wrote: >> Duly submitted from Chrome. Something is wrong with Firefox. > > I recently had a brief flirtation with Firefox for a few weeks, then gave up > in disgust and went back to Chrome. Web browsers are such memory hogs these > days. > > -- > Mark Wieder > ahsoftw...@gmail.com > > > ___ > 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
On Fri, Jul 28, 2017 at 3:13 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > > I recently had a brief flirtation with Firefox for a few weeks, then gave > up in disgust and went back to Chrome. Web browsers are such memory hogs > these days. I used slimjet for a few weeks (A chrome variant with the google reporting removed) after a few years of firefox, and mozilla before that. It was a somewhat smaller footprint (firefox had been going to a gig or so of ram for each email), and could run multiple profiles at once (instead of multiple instances of firefox), but I've gone back to safari over most things, both for the memory (still too much for multiple gmail), stability (slimjet crashed twice most days), and most of all the keychain. slimjet *claimed* that it would use the keychain if you didn't use it's own password system, but just plain didn't (although I think it tried exactly once). i'm not willing to store my passwords with google . . . On the bright side, the latest versions of chrome throttle background tabs (by 99%, iirc0 if they stay too active, a feature i expect t spread, and the safari in High Sierra beta successfully blocks autoplay on websites. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Bob Sneidar wrote: > That [formattedRect] will do the trick, except that while the > vertical works, the horizontal does not. By that I mean I can > expand the size of the stack and the top and bottom items do > not change, but if I expand the stack sideways the right DOES > change. Further, the left always reports -1. Is there maybe an object at -1 left? When I tested here the formattedRect returned the bounds of all visible objects reliably. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
On 07/28/2017 01:52 PM, Bob Sneidar via use-livecode wrote: Duly submitted from Chrome. Something is wrong with Firefox. I recently had a brief flirtation with Firefox for a few weeks, then gave up in disgust and went back to Chrome. Web browsers are such memory hogs these days. -- Mark Wieder ahsoftw...@gmail.com ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Duly submitted from Chrome. Something is wrong with Firefox. http://quality.livecode.com/show_bug.cgi?id=20201 Bob S > On Jul 28, 2017, at 13:47 , Bob Sneidar via use-livecode >wrote: > > I selected IDE (I did it again) and I cannot see the OS field. The web page > is jacked. Or my browser is. Not surprising the latter as Mozilla has been > becoming increasingly less usable as the months go by. > > Bob S > > >> On Jul 28, 2017, at 13:39 , Alex Tweedly via use-livecode >> wrote: >> >> It's under item 4 of "enter a bug" ( >> http://quality.livecode.com/enter_bug.cgi ) >> >> It insists on you filling in this in order - so once you fill in the >> >> "I can see this in ..." (choose IDE vs Desktop vs ...) , >> >> it will then present you with a box for OS, >> >> then for version, >> >> then for >> >> -- Alex. > > > ___ > 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
I selected IDE (I did it again) and I cannot see the OS field. The web page is jacked. Or my browser is. Not surprising the latter as Mozilla has been becoming increasingly less usable as the months go by. Bob S > On Jul 28, 2017, at 13:39 , Alex Tweedly via use-livecode >wrote: > > It's under item 4 of "enter a bug" ( > http://quality.livecode.com/enter_bug.cgi ) > > It insists on you filling in this in order - so once you fill in the > > "I can see this in ..." (choose IDE vs Desktop vs ...) , > > it will then present you with a box for OS, > > then for version, > > then for > > -- Alex. ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
It's under item 4 of "enter a bug" ( http://quality.livecode.com/enter_bug.cgi ) It insists on you filling in this in order - so once you fill in the "I can see this in ..." (choose IDE vs Desktop vs ...) , it will then present you with a box for OS, then for version, then for -- Alex. On 28/07/2017 21:14, Bob Sneidar via use-livecode wrote: I cannot file a bug report. The QCC is saying "A value must be set for the 'Desktop OS' field, but I am not being presented with a Desktop OS field. Bob S On Jul 28, 2017, at 13:11 , Bob Sneidar via use-livecode <use-livecode@lists.runrev.com> wrote: On Jul 28, 2017, at 11:34 , Mark Waddingham via use-livecode <use-livecode@lists.runrev.com> wrote: It is hard to know from this what to expect (as I don't know what structure your card has). Could you file a report in the quality center, with a simple stack which shows what you are seeing? I will file a report, but for those that do not want to dig that up, the command: put the controlnames of card 1 of stack "Passwords" produces a list of mostly numbers. Note that no lines start with "btn" which all my button names begin with. I think Jacque is right, anything in a group gets it's ID listed and not it's name. ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Thanks Jacque and Richard. That will do the trick, except that while the vertical works, the horizontal does not. By that I mean I can expand the size of the stack and the top and bottom items do not change, but if I expand the stack sideways the right DOES change. Further, the left always reports -1. Bob S > On Jul 28, 2017, at 12:26 , Richard Gaskin via use-livecode >wrote: > > The formattedRect of the card accounts for object visibility. > > -- > Richard Gaskin ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
I cannot file a bug report. The QCC is saying "A value must be set for the 'Desktop OS' field, but I am not being presented with a Desktop OS field. Bob S > On Jul 28, 2017, at 13:11 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> On Jul 28, 2017, at 11:34 , Mark Waddingham via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> It is hard to know from this what to expect (as I don't know what structure >> your card has). >> >> Could you file a report in the quality center, with a simple stack which >> shows what you are seeing? > > I will file a report, but for those that do not want to dig that up, the > command: > > put the controlnames of card 1 of stack "Passwords" > > produces a list of mostly numbers. Note that no lines start with "btn" which > all my button names begin with. I think Jacque is right, anything in a group > gets it's ID listed and not it's name. ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
> On Jul 28, 2017, at 11:34 , Mark Waddingham via use-livecode > <use-livecode@lists.runrev.com> wrote: > > It is hard to know from this what to expect (as I don't know what structure > your card has). > > Could you file a report in the quality center, with a simple stack which > shows what you are seeing? I will file a report, but for those that do not want to dig that up, the command: put the controlnames of card 1 of stack "Passwords" produces a list of mostly numbers. Note that no lines start with "btn" which all my button names begin with. I think Jacque is right, anything in a group gets it's ID listed and not it's name. fresh_snow.png grpControls 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1439 1025 1026 1027 1028 grpPassID 1034 1035 mnuPassType lblPasswords fldCustomerName grpServerName 1047 1048 grpServerPath 1050 1051 grpUseSSL 1055 1056 grpServerPort 1053 1054 grpPassLogin 1037 1511 grpPassword 1040 1041 1512 1514 lblPasswords dgPasswords 1318 1319 1320 1321 1322 1323 1324 1325 3146 3147 3148 3149 3150 3151 1326 2657 3152 3153 3154 3155 3156 3157 2659 3158 3159 3160 3161 3162 3163 2661 3164 3165 3166 3167 3168 3169 2663 3170 3171 3172 3173 3174 3175 1327 2658 2660 2662 2664 1328 1329 1330 1331 1332 1333 1334 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 1335 1336 1337 1338 1339 MainMenu 1473 1474 1475 1476 1477 1478 1479 1480 lblSiteName fldSiteName ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
On 7/28/17 1:33 PM, Bob Sneidar via use-livecode wrote: What I am actually trying to do is get a list of every visible object on a card so I can set the windows size to encompass all VISIBLE objects. In that case, I think you want the formattedRect of the card. It ignores invisibles. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Hi Bob, On 2017-07-28 19:52, Bob Sneidar via use-livecode wrote: I can get the controlnames of a card, but at first blush the list does not include button names. However it *does* list a great many numbers of 4 digits. So I tried looking up controlNames in the dictionary and there is no entry for it, at least not by using the find function. It is hard to know from this what to expect (as I don't know what structure your card has). Could you file a report in the quality center, with a simple stack which shows what you are seeing? It will make it much easier to determine if it is, indeed, a bug, or just a strange (but correct) behavior. Warmest Regards, Mark. -- Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Hi Jacque. My growing consternation is that I have a LOT more lines in the list than show up in the application browser. But I suppose I have a lot of groups within groups so okay. What I am actually trying to do is get a list of every visible object on a card so I can set the windows size to encompass all VISIBLE objects. I need to take into account group borders though, because a group on one side of the card will produce a larger visible distance that the other side (if it contained no groups or objects with margins). The idea is to have a function which automatically sizes a card to encompass all visible objects with extra margins on the 4 sides. I say visible because the menuBar is typically invisible on the Mac OS, and I do not want to include that, nor do I care about imported graphics I have hidden, like the one I use for my background patters for instance. It seems there ought to be a way to get the names of all visible objects on a card without having to loop through every single field (think datagrids and shudder) or button (think menubars and shudder some more) or group (think datagrids again containing groups within groups and run screaming naked into the hills). Bob S > On Jul 28, 2017, at 11:21 , J. Landman Gay via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On 7/28/17 12:52 PM, Bob Sneidar via use-livecode wrote: >> I can get the controlnames of a card, but at first blush the list does not >> include button names. However it*does* list a great many numbers of 4 >> digits. So I tried looking up controlNames in the dictionary and there is no >> entry for it, at least not by using the find function. > > > I just tested this and it looks like the controlNames of a card only return > the names of controls whose parent is the card. Controls within a group are > listed by ID. I'm not sure if this is correct or not, I can see the logic, > but it would seem if the parent has to be the card then controls within a > group shouldn't be in the list at all. > > My test card used a background group; it might be different for a card group. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Moreover, the "controlNames" (as well as the "controlIDs") have never been documented: http://quality.livecode.com/show_bug.cgi?id=11901 Best, Panos -- On Fri, Jul 28, 2017 at 7:30 PM, panagiotis merakos <merak...@gmail.com> wrote: > Hi Jacque, > > Control names within a group can be obtained by: > > "the childControlNames of group myGroup" > > Best, > Panos > -- > > > On Fri, Jul 28, 2017 at 7:21 PM, J. Landman Gay via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> On 7/28/17 12:52 PM, Bob Sneidar via use-livecode wrote: >> >>> I can get the controlnames of a card, but at first blush the list does >>> not include button names. However it*does* list a great many numbers of 4 >>> digits. So I tried looking up controlNames in the dictionary and there is >>> no entry for it, at least not by using the find function. >>> >> >> >> I just tested this and it looks like the controlNames of a card only >> return the names of controls whose parent is the card. Controls within a >> group are listed by ID. I'm not sure if this is correct or not, I can see >> the logic, but it would seem if the parent has to be the card then controls >> within a group shouldn't be in the list at all. >> >> My test card used a background group; it might be different for a card >> group. >> >> -- >> Jacqueline Landman Gay | jac...@hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> ___ >> 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/listinfo/use-livecode >> > > ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Hi Jacque, Control names within a group can be obtained by: "the childControlNames of group myGroup" Best, Panos -- On Fri, Jul 28, 2017 at 7:21 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 7/28/17 12:52 PM, Bob Sneidar via use-livecode wrote: > >> I can get the controlnames of a card, but at first blush the list does >> not include button names. However it*does* list a great many numbers of 4 >> digits. So I tried looking up controlNames in the dictionary and there is >> no entry for it, at least not by using the find function. >> > > > I just tested this and it looks like the controlNames of a card only > return the names of controls whose parent is the card. Controls within a > group are listed by ID. I'm not sure if this is correct or not, I can see > the logic, but it would seem if the parent has to be the card then controls > within a group shouldn't be in the list at all. > > My test card used a background group; it might be different for a card > group. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ___ > 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/listinfo/use-livecode > ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
On 7/28/17 12:52 PM, Bob Sneidar via use-livecode wrote: I can get the controlnames of a card, but at first blush the list does not include button names. However it*does* list a great many numbers of 4 digits. So I tried looking up controlNames in the dictionary and there is no entry for it, at least not by using the find function. I just tested this and it looks like the controlNames of a card only return the names of controls whose parent is the card. Controls within a group are listed by ID. I'm not sure if this is correct or not, I can see the logic, but it would seem if the parent has to be the card then controls within a group shouldn't be in the list at all. My test card used a background group; it might be different for a card group. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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/listinfo/use-livecode
Re: controlNames deprecated??
Sorry, V8.1.5 OS X Sierra Bob S > On Jul 28, 2017, at 10:52 , Bob Sneidar <bobsnei...@iotecdigital.com> wrote: > > hi all. > > I can get the controlnames of a card, but at first blush the list does not > include button names. However it *does* list a great many numbers of 4 > digits. So I tried looking up controlNames in the dictionary and there is no > entry for it, at least not by using the find function. > > Bob S > > ___ 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/listinfo/use-livecode
controlNames deprecated??
hi all. I can get the controlnames of a card, but at first blush the list does not include button names. However it *does* list a great many numbers of 4 digits. So I tried looking up controlNames in the dictionary and there is no entry for it, at least not by using the find function. Bob S ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
erm… put the controlidsof card TRANS-HAL of stack DWPro into fld IDZ of stack “Cheese” \ - \ the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack “Cheese On Dec 15, 2014, at 14:00 , Richmond richmondmathew...@gmail.commailto:richmondmathew...@gmail.com wrote: put the controlids - the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack Cheese ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
Whoops! put the controlidsof card TRANS-HAL of stack DWPro \ - \ the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack “Cheese” ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
Good morning Bob, Am 17.12.2014 um 16:55 schrieb Bob Sneidar bobsnei...@iotecdigital.com: Whoops! put the controlidsof card TRANS-HAL of stack DWPro \ - \ the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack “Cheese” thank you, we already cleared this out the day before yesterday :-D Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
Yes as I said, since my threading in my email for this list is now completely hosed, I get everyone’s responses way up the list of emails after the original was sent. I think it has to do with some people using the mailing list and others using the web portal. Bob S On Dec 17, 2014, at 07:57 , Klaus major-k kl...@major-k.de wrote: Good morning Bob, Am 17.12.2014 um 16:55 schrieb Bob Sneidar bobsnei...@iotecdigital.com: Whoops! put the controlidsof card TRANS-HAL of stack DWPro \ - \ the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack “Cheese” thank you, we already cleared this out the day before yesterday :-D Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
Hi Bob, Am 17.12.2014 um 17:15 schrieb Bob Sneidar bobsnei...@iotecdigital.com: Yes as I said, since my threading in my email for this list is now completely hosed, I get everyone’s responses way up the list of emails after the original was sent. I think it has to do with some people using the mailing list and others using the web portal. OK, thou shalt be forgiven! :-) Bob S On Dec 17, 2014, at 07:57 , Klaus major-k kl...@major-k.de wrote: Good morning Bob, Am 17.12.2014 um 16:55 schrieb Bob Sneidar bobsnei...@iotecdigital.com: Whoops! put the controlidsof card TRANS-HAL of stack DWPro \ - \ the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack “Cheese” thank you, we already cleared this out the day before yesterday :-D Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
On Dec 15, 2014, at 4:06 PM, Peter Haworth wrote: A few days ago I was bemoaning the fact that there wasn't a way to get a list of control ids or names without a repeat with x=1 to the number of controls of By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a card or group. This would be quite useful to me but when I try it in LC5.5.1: put the controlnames of card 1 of stack someStack I get empty. Similarly for controIDs. Must have been introduced in a later version of LC5.5… -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ 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/listinfo/use-livecode
controlids and controlnames properties
A few days ago I was bemoaning the fact that there wasn't a way to get a list of control ids or names without a repeat with x=1 to the number of controls of By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a card or group. There is no mention of them in the dictionary. They aren't there in LC 5.5 and are in LC 6.1 (don't have a copy of 6.0 so can't check there). I can't find mention of them in any release notes either although I haven't searched them extensively. Am I the only one that somehow missed the introduction of these properties? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
On 15/12/14 23:06, Peter Haworth wrote: A few days ago I was bemoaning the fact that there wasn't a way to get a list of control ids or names without a repeat with x=1 to the number of controls of By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a card or group. There is no mention of them in the dictionary. They aren't there in LC 5.5 and are in LC 6.1 (don't have a copy of 6.0 so can't check there). I can't find mention of them in any release notes either although I haven't searched them extensively. Am I the only one that somehow missed the introduction of these properties? Pete No, I missed them as well :/ Thanks for the heads up! Get 6.0.1 COMMUNITY here: http://downloads.livecode.com/livecode/ 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/listinfo/use-livecode
RE: controlids and controlnames properties
Sweet... Thanks!!! 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 Peter Haworth Sent: Monday, December 15, 2014 4:06 PM To: How to use LiveCode Subject: controlids and controlnames properties A few days ago I was bemoaning the fact that there wasn't a way to get a list of control ids or names without a repeat with x=1 to the number of controls of By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a card or group. There is no mention of them in the dictionary. They aren't there in LC 5.5 and are in LC 6.1 (don't have a copy of 6.0 so can't check there). I can't find mention of them in any release notes either although I haven't searched them extensively. Am I the only one that somehow missed the introduction of these properties? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
On Mon, Dec 15, 2014 at 1:06 PM, Peter Haworth p...@lcsql.com wrote: By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a card or group. Is this different from the childControlIDs and childConbtrolNames -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
However . . . When I did this: on mouseUp put the controlids - the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack Cheese end mouseUp I did NOT get a list of nicely paired ID numbers and names, but a messy something of which this is a sample: controlids - VREFF KREFF fSIZING rat-track.gif scroler.png BGRAD.png 2424k 2391k 2390k 7378k 7379k VEE.png 2388k 2387k 2389k 2373k The above are ALL names: ID numbers having vanished somewhere ?? so will have to do some further fiddling around as that does not float my boat overly much. 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/listinfo/use-livecode
Re: controlids and controlnames properties
On 15/12/14 23:56, Dr. Hawkins wrote: On Mon, Dec 15, 2014 at 1:06 PM, Peter Haworth p...@lcsql.com wrote: By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a card or group. Is this different from the childControlIDs and childConbtrolNames Certainly, as of 6.7 and 7.0.1 rc3 controlids and controlnames are NOT documented. 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/listinfo/use-livecode
Re: controlids and controlnames properties
Hi Richmond, Am 15.12.2014 um 23:00 schrieb Richmond richmondmathew...@gmail.com: However . . . When I did this: on mouseUp put the controlids - the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack Cheese end mouseUp I did NOT get a list of nicely paired ID numbers and names, but a messy something of which this is a sample: controlids - VREFF KREFF fSIZING rat-track.gif scroler.png BGRAD.png 2424k 2391k 2390k 7378k 7379k VEE.png 2388k 2387k 2389k 2373k The above are ALL names: ID numbers having vanished somewhere ?? so will have to do some further fiddling around as that does not float my boat overly much. what about: ... put the controlids OF CARD TRANS-HAL OF STACK DWPro - the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack Cheese ... 8-) Richmond. Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
On 16/12/14 00:03, Klaus major-k wrote: Hi Richmond, Am 15.12.2014 um 23:00 schrieb Richmond richmondmathew...@gmail.com: However . . . When I did this: on mouseUp put the controlids - the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack Cheese end mouseUp I did NOT get a list of nicely paired ID numbers and names, but a messy something of which this is a sample: controlids - VREFF KREFF fSIZING rat-track.gif scroler.png BGRAD.png 2424k 2391k 2390k 7378k 7379k VEE.png 2388k 2387k 2389k 2373k The above are ALL names: ID numbers having vanished somewhere ?? so will have to do some further fiddling around as that does not float my boat overly much. what about: ... put the controlids OF CARD TRANS-HAL OF STACK DWPro - the controlnames of card TRANS-HAL of stack DWPro into fld IDZ of stack Cheese ... 8-) Richmond. Best Klaus Yes, err, well, I had a logng, tiring day trying to get some English into small Bulgarians with small brains . . . well that's my excuse anyway for being pretty stupid. Thanks for putting me right, again, again, again, Klaus :) 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/listinfo/use-livecode
Re: controlids and controlnames properties
Yes: the childControlIDs and childConbtrolNames only go one level down; anything in a group will not be reported. the controlIDs and controlNames list everything everywhere. So given this structure: card id 1002 group id 1007 [1007] | button Button [1004] | button Button [1006] put the controlIDs of card id 1002 1007 1004 1006 put the childControlIDs of card id 1002 1007 On Mon, Dec 15, 2014 at 3:56 PM, Dr. Hawkins doch...@gmail.com wrote: On Mon, Dec 15, 2014 at 1:06 PM, Peter Haworth p...@lcsql.com wrote: By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a card or group. Is this different from the childControlIDs and childConbtrolNames -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
On 16 Dec 2014, at 9:02 am, Richmond richmondmathew...@gmail.com wrote: Certainly, as of 6.7 and 7.0.1 rc3 controlids and controlnames are NOT documented. I did these when I did childControlIDs and childControlNames as it was basically the same code. It was back before the docs were added to the engine repo and I was assuming that someone was covering me on the docs as I had no way to contribute them. These days you need to include docs with each change before it's looked at. It probably should be reported that there's no docs for these if it's not already. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ 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/listinfo/use-livecode
Re: controlids and controlnames properties
Thanks Monte, I kinda suspected that was the case and thanks for adding them. I added QCC report number 14225 so hopefully they will make it into the dictionary soon. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Mon, Dec 15, 2014 at 2:37 PM, Monte Goulding mo...@sweattechnologies.com wrote: On 16 Dec 2014, at 9:02 am, Richmond richmondmathew...@gmail.com wrote: Certainly, as of 6.7 and 7.0.1 rc3 controlids and controlnames are NOT documented. I did these when I did childControlIDs and childControlNames as it was basically the same code. It was back before the docs were added to the engine repo and I was assuming that someone was covering me on the docs as I had no way to contribute them. These days you need to include docs with each change before it's looked at. It probably should be reported that there's no docs for these if it's not already. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode