Re: controlNames??

2017-10-11 Thread Bob Sneidar via use-livecode
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

Re: controlNames??

2017-10-11 Thread panagiotis merakos via use-livecode
o 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, > &g

Re: controlNames??

2017-10-11 Thread Bob Sneidar via use-livecode
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

Re: controlNames??

2017-10-11 Thread panagiotis merakos via use-livecode
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

controlNames??

2017-10-11 Thread Bob Sneidar via use-livecode
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

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

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

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

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?

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.

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

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

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

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 >

Re: controlNames deprecated??

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

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

Re: controlNames deprecated??

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

Re: controlNames deprecated??

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

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. --

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

Re: controlNames deprecated??

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

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 <merak...@gmail.com> wrote: > Hi Jacque, > > Control n

Re: controlNames deprecated??

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

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

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 <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 numb

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

Re: controlids and controlnames properties

2014-12-17 Thread Bob Sneidar
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

Re: controlids and controlnames properties

2014-12-17 Thread Bob Sneidar
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

Re: controlids and controlnames properties

2014-12-17 Thread Klaus major-k
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

Re: controlids and controlnames properties

2014-12-17 Thread Bob Sneidar
: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

Re: controlids and controlnames properties

2014-12-17 Thread Klaus major-k
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

Re: controlids and controlnames properties

2014-12-16 Thread Peter M. Brigham
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

controlids and controlnames properties

2014-12-15 Thread Peter Haworth
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

Re: controlids and controlnames properties

2014-12-15 Thread Richmond
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

RE: controlids and controlnames properties

2014-12-15 Thread Ralph DiMola
: 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

Re: controlids and controlnames properties

2014-12-15 Thread Dr. Hawkins
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

Re: controlids and controlnames properties

2014-12-15 Thread Richmond
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

Re: controlids and controlnames properties

2014-12-15 Thread Richmond
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

Re: controlids and controlnames properties

2014-12-15 Thread Klaus major-k
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

Re: controlids and controlnames properties

2014-12-15 Thread Richmond
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

Re: controlids and controlnames properties

2014-12-15 Thread Geoff Canyon
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

Re: controlids and controlnames properties

2014-12-15 Thread Monte Goulding
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

Re: controlids and controlnames properties

2014-12-15 Thread Peter Haworth
://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