Re: Hide group on click

2011-05-07 Thread René Micout
set the visible of me to (not the visible of me) ? visible and nor visibility (?) Le 6 mai 2011 à 13:13, Keith Clarke a écrit : > Hi folks, > I have a help 'draw' group that toggles open/closed (well, visible > true/false) by mouseUp on a nearby help icon. However, I'd also like to have > the d

Re: Hide group on click

2011-05-06 Thread Klaus on-rev
Hi Keith, > Hi folks, > I have a help 'draw' group that toggles open/closed (well, visible > true/false) by mouseUp on a nearby help icon. However, I'd also like to have > the drawer set to invisible if clicked. So, what's wrong with this script - > placed on the group? set the VISIBLE :-) >

Re: Hide group on click

2011-05-06 Thread Keith Clarke
...well, you never know who reads the use list. At least this thread has provided clarity on how to set the visible of me to true - just in case! ;-) On 6 May 2011, at 17:27, Richmond Mathewson wrote: > On 05/06/2011 07:13 PM, Keith Clarke wrote: >> ...ah, now I know who wrote the wikipedia page

Re: Hide group on click

2011-05-06 Thread Richmond Mathewson
On 05/06/2011 07:13 PM, Keith Clarke wrote: ...ah, now I know who wrote the wikipedia page that I was quoting http://en.wikipedia.org/wiki/Vis ;-) Well all that proves is how, down here in provincial Plovdiv, I am shielded from the extremely nasty and messy world of Bulgarian crime; this is t

Re: Hide group on click

2011-05-06 Thread Keith Clarke
...ah, now I know who wrote the wikipedia page that I was quoting http://en.wikipedia.org/wiki/Vis ;-) On 6 May 2011, at 17:08, Richmond Mathewson wrote: > On 05/06/2011 06:48 PM, Keith Clarke wrote: >> On 6 May 2011, at 16:07, Richmond Mathewson wrote: >> >>> Personally I always learn the shor

Re: Hide group on click

2011-05-06 Thread Keith Clarke
Chris, Maybe I'm still too new to LiveCode (or too keen on the Matrix) but for now I'm sticking to the principle that software objects are inanimate - they don't get to have a state of being! ;-) There seems to be a fair mixture of toggle properties that imply states of being (such as visible)

Re: Hide group on click

2011-05-06 Thread Richmond Mathewson
On 05/06/2011 06:48 PM, Keith Clarke wrote: On 6 May 2011, at 16:07, Richmond Mathewson wrote: Personally I always learn the short form for everything [ c.f. 'vis'] ...is that 'vis' as in face, the island of Vis, VIS the Bulgarian crime organisation, the Polish hand-gun, the abbreviation for

Re: Hide group on click

2011-05-06 Thread Keith Clarke
On 6 May 2011, at 16:07, Richmond Mathewson wrote: > Personally I always learn the short form for everything [ c.f. 'vis'] ...is that 'vis' as in face, the island of Vis, VIS the Bulgarian crime organisation, the Polish hand-gun, the abbreviation for vis-a-vis or the apostrophe-free state of b

Re: Hide group on click

2011-05-06 Thread Nonsanity
I see two-state properties such as "visible" as a "state of being" toggle such that: "the state of being visible is true or false" or "the state of being opaque is true or false" But "the state of being visibility" doesn't scan right. It's different with non-toggle properties. If there was one ca

Re: Hide group on click

2011-05-06 Thread Richmond Mathewson
On 05/06/2011 06:02 PM, Warren Samples wrote: On Friday, May 06, 2011 09:48:07 AM Colin Holgate wrote: and "visible" should be removed and replaced with "visibility" Of course this would cause problems with backward compatibility, but I think the argument regarding correct English grammar is s

Re: Hide group on click

2011-05-06 Thread Warren Samples
On Friday, May 06, 2011 09:48:07 AM Colin Holgate wrote: > and "visible" should be removed and replaced with "visibility" Of course this would cause problems with backward compatibility, but I think the argument regarding correct English grammar is specious. "the visible" refers to a state or p

Re: Hide group on click

2011-05-06 Thread Keith Clarke
Jim - Thanks, You're right in that my typo didn't throw a script editor error but instead created a custom property - which I've now purged, (to save me wondering what it's for, when I rediscover it in a few months' time!) Best, Keith.. On 6 May 2011, at 13:18, Jim Ault wrote: > "the visibility

Re: Hide group on click

2011-05-06 Thread Colin Holgate
You may be right, and "visible" should be removed and replaced with "visibility". But I don't mind if they were synonyms, at least someone who thinks in terms of the visibility of objects wouldn't get script errors. On May 6, 2011, at 8:35 AM, Richmond Mathewson wrote: >> "visibility" ought to

Re: Hide group on click

2011-05-06 Thread Keith Clarke
Synonym might not be the correct term here but the dictionary could help us much more with Thesaurus and/or contextual relationships, because for the part-time coder, it's often difficult with LiveCode to know when to think of properties as nouns, adjectives, adverbs, etc. Just look at the basi

Re: Hide group on click

2011-05-06 Thread Richmond Mathewson
On 05/06/2011 03:47 PM, René Micout wrote: Hello Richmond, It is not a probem for French people because "visible" is an adjective ANd a name Sous le soleil de Paris René Mais, c'est sure! Seulement, Livecode c'est pas le roi soleil . . . :) ___ us

Re: Hide group on click

2011-05-06 Thread René Micout
Hello Richmond, It is not a probem for French people because "visible" is an adjective ANd a name Sous le soleil de Paris René Le 6 mai 2011 à 14:35, Richmond Mathewson a écrit : > On 05/06/2011 03:26 PM, Colin Holgate wrote: >> "visibility" ought to be a synonym along with "vis". >> > I don't

Re: Hide group on click

2011-05-06 Thread Richmond Mathewson
On 05/06/2011 03:26 PM, Colin Holgate wrote: "visibility" ought to be a synonym along with "vis". I don't see how that makes much sense; 'visible' is an adjective, while 'visibility' is a noun; so how 'visibility' could be synonymous with 'visible' I just do not see. Of course the language i

Re: Hide group on click

2011-05-06 Thread Colin Holgate
"visibility" ought to be a synonym along with "vis". As for a simple script to make it be invisible, this would do: hide me ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your su

Re: Hide group on click

2011-05-06 Thread Jim Ault
"the visibility of me" would be a custom property that you invent to hold text or other data. 'Visibility' is not a Rev property of an object. try this set the visible of me to (not the visible of me) or set the visible of me to not(the visible of me) Both should work for you. Since the m

Re: Hide group on click

2011-05-06 Thread Keith Clarke
Thanks Klaus & René - I've obviously been staring at the screen for too long (several hours), so and didn't notice the typo or even lack of colour change in the script editor. Doh! So much for LiveCode's forgiving, English-like language - where have all the pseudonyms gone! ;-) Fixed and time