If the visible of the menubar is true?

wouter wouter.abraham at scarlet.be
Wed Nov 1 04:50:19 EST 2006


On 01 Nov 2006, at 04:13, Ken Ray wrote:

> On 10/31/06 9:01 PM, "Ken Ray" <kray at sonsothunder.com> wrote:
>
>> On 10/31/06 8:48 PM, "Richard Gaskin" <ambassador at fourthworld.com>  
>> wrote:
>>
>>> wouter wrote:
>>>
>>>> On Mac OS X (didn't test in OS 9) you can use the following
>>>> to test for the visible of the menubar:
>>>>
>>>> put the menubar is not hidden
>>>> or
>>>> put the menubar is hidden
>>>
>>> "hidden"?
>>>
>>> Wow.  Never would have guessed that one.
>>>
>>> Is that token used for any other element in the language?
>>>
>>> I wonder why "visible" is not used for the menubar as it is for
>>> everything else...
>>
>> Actually you *can* use it, like:
>>
>>   put the menubar is visible
>>   put the menubar is not visible
>>

actually this won't work correctly (my fault for not testing  
thoroughly (I confess))
try:
      menubar visible : put the menubar  is <visible/hidden> --> false
      menubar hidden: put the menubar  is <visible/hidden> --> false


>> But you *can't* use it this way:
>>
>>   put the visible of the menubar
>>   put the visible of menubar

-snip-

> Ken Ray


Greetings,
Wouter



More information about the use-livecode mailing list