Re: Drawers

2003-08-14 Thread J. Landman Gay
On 8/11/03 2:28 PM, Wilhelm Sanke wrote:

On  Sun, 10 Aug 2003 "J. Landman Gay" <[EMAIL PROTECTED]> wrote:

I may not understand what you mean, but when I use the "drawer" command,
the stack animates and slides out exactly like the ones in Apple's
applications. There is a smooth glide from closed to open.
...
I was asked to share examples of how we simulated drawers - as it were -
before the advent of the latest command. Some of the examples I
mentioned or pointed to were about two years old. The specific script
with the sliding effect from our sample stack you refer to was written
one and a half years ago; so it anyway shows the rich potential of
Metacard even without the new drawer command.
I understand now. Thanks for the explanation.

Now, with the new command, I do not get here any sliding effect. The
drawer stacks simply open. Maybe there is a sliding effect, but it is
not visible for me. Is there maybe another undocumented feature that can
slow down the showing of the drawer as in visual effects?
This is on Windows with Metacard 2.5.1B2. At the moment I do not have
access to my Mac to try out, but in two days I will use it again.
What platform do you have that shows this sliding effect?
The sliding animation I see is in OS X. I have always assumed it was an 
OS X-only effect, similar to the "as sheet" command which is also only 
for OS X. On other platforms, "as sheet" displays a stack as a modal 
stack instead. Apparently the "drawer" command does the same, and simply 
displays a stack on other platforms as a regular stack, though I haven't 
tried it on anything but OS X. You may have to continue using your handy 
scripts on other operating systems.

I may be wrong about this though.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


RE: Drawers

2003-08-14 Thread Ken Ray
OS X only; on other platforms, it just opens the stack window that
you're "drawering" (if there is such a word :-).

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Simon Lord
> Sent: Sunday, August 10, 2003 1:26 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Drawers
> 
> 
> I haven't tried this yet (I may have back during the beta), 
> but can you 
> tell me if this works on all platforms or is this an OSX only thing?
> 
> On Sunday, August 10, 2003, at 01:57 AM, Tuviah M Snyder wrote:
> 
> >> Create three drawer stacks whose sum of heights is the 
> height of the 
> >> base stack (or otherwise, if you like).
> > It is possible..it hasn't been documented for some reason
> >
> > drawer "x1" at "right,top" in stack "parent"
> > drawer "x2" at "right,center" in stack "parent"
> > drawer "x3" at "right,top" in stack "parent"
> >
> > Same goes for other directions where the syntax is
> >
> > drawer  [at pintoside,[alignment]]
> >
> > So you can have multiple drawers on one side.
> >
> > Tuviah Snyder <[EMAIL PROTECTED]> <http://www.runrev.com/> Runtime 
> > Revolution Limited - Software at the Speed of Thought 
> > ___
> > metacard mailing list
> > [EMAIL PROTECTED] 
> > http://lists.runrev.com/mailman/listinfo/metacard
> >
> >
> Sincerely,
> Simon
> 
> ___
> metacard mailing list
> [EMAIL PROTECTED] 
> http://lists.runrev.com/mailman/listinfo/metac> ard
> 


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


re: Drawers

2003-08-14 Thread Wilhelm Sanke
On Sun, 10 Aug 2003  Tuviah M Snyder <[EMAIL PROTECTED]> in response to
my post "drawers" wrote:

> >Create three drawer stacks whose sum of heights is the height of the
> >base stack (or otherwise, if you like).
>
> It is possible..it hasn't been documented for some reason
>
> drawer "x1" at "right,top" in stack "parent"
> drawer "x2" at "right,center" in stack "parent"
> drawer "x3" at "right,top" in stack "parent"
>
> Same goes for other directions where the syntax is
>
> drawer  [at pintoside,[alignment]]
>
> So you can have multiple drawers on one side.
>
> Tuviah Snyder Runtime Revolution Limited
>
>
Thanks, Tuviah, for the response to my request to further improve the
new "drawer" command.

Looking over the sample stacks we provide for our students being
introduced to Metacard/Revolution I found the following scripts that
simulate drawers (with stacks) and that - unlike the solution with
changing the width of the drawer stack in my last post - provides a
visual effect moving the drawer from underneath to full exposure:

Script in the drawer base ( the calling stack):

on opencard
  open invisible stack "drawer1"
  open invisible stack "drawer2"
  open invisible stack "drawer3"
 end opencard

Button for drawer 1 on the drawer base
(set the topright of drawer 2 and 3 accordingly)

on mouseUp
  put the topright of this stack into cornerRight
  set the topright of stack "drawer1" to cornerRight
  lock screen
#necessary to prevent the flickering when setting vis to true
  set the vis of stack "drawer1" to true
  go to stack "drawer2-base"
# set the calling stack to top so that the drawer will not appear
# above the calling stack, but appear  underneath the calling stack
  unlock screen
  repeat with i = 1 to 254
add 1 to item 1 of cornerRight
set the topright of stack "drawer1" to cornerRight
wait 1 milliseconds
  end repeat
  end mouseUp

Closing the drawers of course the other way round.

If you want to have this "visual effect" of a drawer being opened and
closed like a real drawer, it is important to first open the drawers
invisibly, and then take care that the drawers start from underneath the
base stack and prevent that flickering that occurs when the vis of the
drawer is set the true.

Tuviah, although the undocumented parts of the drawer command you
provide are indeed an improvement in a direction I had in mind, I think
it  is worth mentioning what solutions we have found.

Our common goal, without reservation, is to improve Metacard/Revolution.

Regards,

Wilhelm Sanke

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Drawers

2003-08-14 Thread Scott Rossi
> the question is like asking can you use your own
> routines to similuate the Aqua feel for all platforms, yes, by using
> custom graphics and other methods you can.

On a related note, you might like to take a look at the search feature in
the current version of our mcnews stack, which includes a custom "answer
sheet" routine.  Since it is built using native Rev objects and uses our own
ease-in script, it is more flexible (can display any control including
fields, images, etc.) and it is cross platform.

(Warning: grabbing more than 1 month's worth of content could take several
minutes, might bog down your system, and may be hazardous to your health.)

In your message box:

  go stack url "http://www.tactilemedia.com/download/mcnews.rev";

Kind of amusing to see Apple-like stuff on Windows.  :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Drawers

2003-08-14 Thread Wilhelm Sanke
On  Sun, 10 Aug 2003 "J. Landman Gay" <[EMAIL PROTECTED]> wrote:


> > If you want to have this "visual effect" of a drawer being opened and
> > closed like a real drawer, it is important to first open the drawers
> > invisibly, and then take care that the drawers start from underneath the
> > base stack and prevent that flickering that occurs when the vis of the
> > drawer is set the true.
>
>
> I may not understand what you mean, but when I use the "drawer" command,
> the stack animates and slides out exactly like the ones in Apple's
> applications. There is a smooth glide from closed to open.
>
> The "drawer" command slides the stack out. A "hide stack myStack"
> command slides it back in. Once the stack is set to be a drawer, you can
> just use "show stack myStack" to slide it open again.
>
> There doesn't seem to be any need to manually adjust the position of the
> stack as it slides open. The stack also appears "underneath" the main stack.
>
> This is all with version 2.1 beta, of course.
>
> -- Jacqueline Landman Gay
>
I was asked to share examples of how we simulated drawers - as it were -
before the advent of the latest command. Some of the examples I
mentioned or pointed to were about two years old. The specific script
with the sliding effect from our sample stack you refer to was written
one and a half years ago; so it anyway shows the rich potential of
Metacard even without the new drawer command.

Now, with the new command, I do not get here any sliding effect. The
drawer stacks simply open. Maybe there is a sliding effect, but it is
not visible for me. Is there maybe another undocumented feature that can
slow down the showing of the drawer as in visual effects?
This is on Windows with Metacard 2.5.1B2. At the moment I do not have
access to my Mac to try out, but in two days I will use it again.
What platform do you have that shows this sliding effect?

Regards,

Wilhelm Sanke

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Drawers

2003-08-14 Thread Klaus Major
Hi Wilhelm,

...
Now, with the new command, I do not get here any sliding effect. The
drawer stacks simply open. Maybe there is a sliding effect, but it is
not visible for me. Is there maybe another undocumented feature that 
can
slow down the showing of the drawer as in visual effects?
This is on Windows with Metacard 2.5.1B2.
???

Did you rename the revolution beta engine to metacard and put it into
the .app/Contents/MacOS/ ?
Ooops, sorry, you mention windows...

Did you just rename (beta) rev.exe to mc.exe?

Thanks in advance for the info :-)

...
Regards,
Wilhelm Sanke
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


RE: Drawers

2003-08-14 Thread Ken Ray
> Now, with the new command, I do not get here any sliding 
> effect. The drawer stacks simply open. Maybe there is a 
> sliding effect, but it is not visible for me. Is there maybe 
> another undocumented feature that can slow down the showing 
> of the drawer as in visual effects? This is on Windows with 
> Metacard 2.5.1B2. 

This feature only works on OS X.

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Drawers

2003-08-12 Thread Simon Lord
I haven't tried this yet (I may have back during the beta), but can you 
tell me if this works on all platforms or is this an OSX only thing?

On Sunday, August 10, 2003, at 01:57 AM, Tuviah M Snyder wrote:

Create three drawer stacks whose sum of heights is the height of the
base stack (or otherwise, if you like).
It is possible..it hasn't been documented for some reason

drawer "x1" at "right,top" in stack "parent"
drawer "x2" at "right,center" in stack "parent"
drawer "x3" at "right,top" in stack "parent"
Same goes for other directions where the syntax is

drawer  [at pintoside,[alignment]]

So you can have multiple drawers on one side.

Tuviah Snyder <[EMAIL PROTECTED]> 
Runtime Revolution Limited - Software at the Speed of Thought
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Sincerely,
Simon
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


re: Drawers

2003-08-12 Thread Tuviah M Snyder
>Tuviah, although the undocumented parts of the drawer command you
>provide are indeed an improvement in a direction I had in mind, I think
>it  is worth mentioning what solutions we have found.
>Our common goal, without reservation, is to improve Metacard/Revolution.
Agreed.  Developers would be wise to use your solutions to implement
drawers on other platforms. However on OSX, users are very picky, these
users send me dozens of emails about default throbbing buttons for
example. We have taken special care to modify the engine to implement
drawers so they look and act the way they do on other platforms (drawers
never take away focus from the parent for example and cannot be dragged,
they inherit metal if the parent is metal, there is a special behavior
when resizing). So the question is like asking can you use your own
routines to similuate the Aqua feel for all platforms, yes, by using
custom graphics and other methods you can. But I would advise you to use
the built in routines if available for a platform, and suggest
improvements.

Tuviah Snyder <[EMAIL PROTECTED]> 
Runtime Revolution Limited - Software at the Speed of Thought
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Drawers

2003-08-11 Thread J. Landman Gay
On 8/10/03 5:14 PM, Wilhelm Sanke wrote:

If you want to have this "visual effect" of a drawer being opened and
closed like a real drawer, it is important to first open the drawers
invisibly, and then take care that the drawers start from underneath the
base stack and prevent that flickering that occurs when the vis of the
drawer is set the true.
I may not understand what you mean, but when I use the "drawer" command, 
the stack animates and slides out exactly like the ones in Apple's 
applications. There is a smooth glide from closed to open.

The "drawer" command slides the stack out. A "hide stack myStack" 
command slides it back in. Once the stack is set to be a drawer, you can 
just use "show stack myStack" to slide it open again.

There doesn't seem to be any need to manually adjust the position of the 
stack as it slides open. The stack also appears "underneath" the main stack.

This is all with version 2.1 beta, of course.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


re: Drawers

2003-08-10 Thread Tuviah M Snyder
>Create three drawer stacks whose sum of heights is the height of the
>base stack (or otherwise, if you like).
It is possible..it hasn't been documented for some reason

drawer "x1" at "right,top" in stack "parent"
drawer "x2" at "right,center" in stack "parent"
drawer "x3" at "right,top" in stack "parent"

Same goes for other directions where the syntax is 

drawer  [at pintoside,[alignment]]

So you can have multiple drawers on one side. 

Tuviah Snyder <[EMAIL PROTECTED]> 
Runtime Revolution Limited - Software at the Speed of Thought
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Drawers

2003-08-10 Thread [EMAIL PROTECTED]
I haven't tried this yet (I may have back during the beta), but can you 
tell me if this works on all platforms or is this an OSX only thing?

On Sunday, August 10, 2003, at 01:57 AM, Tuviah M Snyder wrote:

Create three drawer stacks whose sum of heights is the height of the
base stack (or otherwise, if you like).
It is possible..it hasn't been documented for some reason

drawer "x1" at "right,top" in stack "parent"
drawer "x2" at "right,center" in stack "parent"
drawer "x3" at "right,top" in stack "parent"
Same goes for other directions where the syntax is

drawer  [at pintoside,[alignment]]

So you can have multiple drawers on one side.

Tuviah Snyder <[EMAIL PROTECTED]> 
Runtime Revolution Limited - Software at the Speed of Thought
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Sincerely,
Simon
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard