Re: controlNames deprecated??

2017-07-31 Thread Bob Sneidar via use-livecode
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 o

Re: controlNames deprecated??

2017-07-31 Thread Richard Gaskin via use-livecode
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

Re: controlNames deprecated??

2017-07-31 Thread Bob Sneidar via use-livecode
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 >

Re: controlNames deprecated??

2017-07-31 Thread Richard Gaskin via use-livecode
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

Re: controlNames deprecated??

2017-07-31 Thread Bob Sneidar via use-livecode
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 formattedRec

Re: controlNames deprecated??

2017-07-29 Thread Mark Waddingham via use-livecode
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. I

Re: controlNames deprecated??

2017-07-29 Thread Dr. Hawkins via use-livecode
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 we

Re: controlNames deprecated??

2017-07-28 Thread Richard Gaskin via use-livecode
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

Re: controlNames deprecated??

2017-07-28 Thread Mark Wieder via use-livecode
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 Wi

Re: controlNames deprecated??

2017-07-28 Thread Bob Sneidar via use-livecode
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 browse

Re: controlNames deprecated??

2017-07-28 Thread Bob Sneidar via use-livecode
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

Re: controlNames deprecated??

2017-07-28 Thread Alex Tweedly via use-livecode
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 -- A

Re: controlNames deprecated??

2017-07-28 Thread Bob Sneidar via use-livecode
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 rep

Re: controlNames deprecated??

2017-07-28 Thread Bob Sneidar via use-livecode
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 > wrote: > >> On Jul 28, 2017, at 11:34 , Mark Waddingham via use-livecode >

Re: controlNames deprecated??

2017-07-28 Thread Bob Sneidar via use-livecode
> On Jul 28, 2017, at 11:34 , Mark Waddingham via use-livecode > 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 re

Re: controlNames deprecated??

2017-07-28 Thread Richard Gaskin via use-livecode
Bob Sneidar 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. I need to take into account group borders though, because a > group on one side of the card will produce a larger visible distan

Re: controlNames deprecated??

2017-07-28 Thread J. Landman Gay via use-livecode
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. -- Jac

Re: controlNames deprecated??

2017-07-28 Thread Mark Waddingham via use-livecode
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 fo

Re: controlNames deprecated??

2017-07-28 Thread Bob Sneidar via use-livecode
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 t

Re: controlNames deprecated??

2017-07-28 Thread panagiotis merakos via use-livecode
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 wrote: > Hi Jacque, > > Control names within a group can be obtained by: > > "the childCon

Re: controlNames deprecated??

2017-07-28 Thread panagiotis merakos via use-livecode
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 ge

Re: controlNames deprecated??

2017-07-28 Thread J. Landman Gay via use-livecode
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,

Re: controlNames deprecated??

2017-07-28 Thread Bob Sneidar via use-livecode
Sorry, V8.1.5 OS X Sierra Bob S > On Jul 28, 2017, at 10:52 , Bob Sneidar 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

controlNames deprecated??

2017-07-28 Thread Bob Sneidar via use-livecode
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