Re: Iconic property

2000-12-18 Thread Phil Davis

A ye... I'm just glad I wasn't handing out free advice on brain surgery.
Memory can be a wonderful thing. Or not.
Phil Davis


Kevin Miller wrote:
> 
> On 12/12/00 12:18 am, Phil Davis <[EMAIL PROTECTED]> wrote:
> 
> > Sometimes, in order to change to visual state of the current instance of a MC
> > object, you have to use "effective" in the statement:
> 
> Actually, that is never the case.  You can "get" the effective to determine
> if the property is inherited, but setting it is not a valid thing to do.
> 
> Regards,
> 
> Kevin
> 
> Kevin Miller <[EMAIL PROTECTED]> 
> Runtime Revolution Limited (formerly Cross Worlds Computing).
> Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.
> 
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Iconic property

2000-12-12 Thread Kevin Miller

On 12/12/00 12:18 am, Phil Davis <[EMAIL PROTECTED]> wrote:

> Sometimes, in order to change to visual state of the current instance of a MC
> object, you have to use "effective" in the statement:

Actually, that is never the case.  You can "get" the effective to determine
if the property is inherited, but setting it is not a valid thing to do.

Regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Iconic property

2000-12-11 Thread Scott Raney

On Tue, 12 Dec 2000 [EMAIL PROTECTED] wrote:

> I made a new stack called "Test1" containing one button.  The script of the 
> button is:
> 
>   on mouseUp
> set the iconic of this stack to not the iconic of this stack
>   end mouseUp
> 
> I am running MC 2.3.1 on a Mac.  I hoped that clicking the button would 
> iconify the stack using windowshade.  I click the button and nothing happens. 
>  Using the message box, I type:
> 
>   put the iconic of stack "test1"
> 
> and I see that the property switches between true and false each time I click 
> the button yet the stack does not minimize using windowshade.  I also tried 
> typing into the message box:
> 
>   set the iconic of stack "Test1" to true
> 
> and again, nothing happens.  Am I doing something wrong?

Yes: you're assuming that it's possible for an application to minimize
its own windows on the Mac.  Turns out it's not, mostly as a result of
the fact that "windowshading" is a hack and not really a part of the
OS.  Indeed, there isn't even any notification given to an application
when its windows have been minimized by the user nor any API support
for determining if it's been done, so the engine just has to poll one
of the window regions any time any event comes in for that window and
deal with it then.

If there's a silver lining here, it's that Carbon finally provides an
API for all of this, which means that eventually this will be
supported, if only on systems new enough to support Carbon.
Unfortunately Carbon itself is a moving target, and it's possible that
it will only work on Mac OS X, and maybe OS 9.X systems that have
upgraded to a working version of Carbon (which will be something later
than the current 1.2 release ;-)
  Regards,
Scott

> Philip Chumbley


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Iconic property

2000-12-11 Thread Phil Davis

Sometimes, in order to change to visual state of the current instance of a MC
object, you have to use "effective" in the statement:

set the effective iconic of stack "Test1" to true

I didn't test the above statement, so let the buyer beware!

Phil Davis



[EMAIL PROTECTED] wrote:
> 
> I made a new stack called "Test1" containing one button.  The script of the
> button is:
> 
>   on mouseUp
> set the iconic of this stack to not the iconic of this stack
>   end mouseUp
> 
> I am running MC 2.3.1 on a Mac.  I hoped that clicking the button would
> iconify the stack using windowshade.  I click the button and nothing happens.
>  Using the message box, I type:
> 
>   put the iconic of stack "test1"
> 
> and I see that the property switches between true and false each time I click
> the button yet the stack does not minimize using windowshade.  I also tried
> typing into the message box:
> 
>   set the iconic of stack "Test1" to true
> 
> and again, nothing happens.  Am I doing something wrong?
> 
> Philip Chumbley
> 
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

-- 
Phil Davis
-
[EMAIL PROTECTED]
(503) 417-7930  x234
-
Facilitator
Essentials of eBusiness Computing
Information Technology Institute
http://www.iti.com

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Iconic property

2000-12-11 Thread PEChumbley

I made a new stack called "Test1" containing one button.  The script of the 
button is:

  on mouseUp
set the iconic of this stack to not the iconic of this stack
  end mouseUp

I am running MC 2.3.1 on a Mac.  I hoped that clicking the button would 
iconify the stack using windowshade.  I click the button and nothing happens. 
 Using the message box, I type:

  put the iconic of stack "test1"

and I see that the property switches between true and false each time I click 
the button yet the stack does not minimize using windowshade.  I also tried 
typing into the message box:

  set the iconic of stack "Test1" to true

and again, nothing happens.  Am I doing something wrong?

Philip Chumbley

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.