RE: Subject: Backdrops

2001-01-24 Thread Monte Goulding

Thanks that's one to remember. FormatForPrinting overrides
windowBoundingRect.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Raymond E. Griffith
> Sent: Thursday, 25 January 2001 6:00 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Subject: Backdrops
>
>
> on Wed, 24 Jan 2001 19:40:10 +1030 "Monte Goulding"
> <[EMAIL PROTECTED]> perplexedly asked:
>
> > I still don't get what the formatForPrinting has to do
> with the
> > windowBoundingRect. This may override the property but
> surely changing the
> > windowBoundingRect would be the most obvious soloution.
>
> It isn't obvious, is it? Well, it had to be explained to me
> a couple of times.
>
> The windowBoundingRect is to prevent stacks from being off
> screen. So it looks at the screenrect, takes off for menu
> bars, and resizes your stack accordingly whether you like it
> or not. You can't set the windowBoundingRect to be larger
> than the screenrect.
>
> You can overcome this by typing into the message box:
>
> "set the formatForPrinting of this stack to true"
>
> It only has to be done once -- provided you save the stack.
> (I think.)
>
> This allows MC to understand that you intend to print the
> card.
>
> Why is this important? Say I want to print a letter from a
> card onto regular letter paper (say 8.5 inches by 11
> inches -- with apologies to our metric neighbors). You can't
> do it if the card won't open with enough height. The card
> would need to be 9 inches tall (9*72 = 648 pixels) assuming
> a 1-inch margin at the top and bottom. Now I generally use
> an 800x600 screen because the larger screen size makes the
> type too small for my eyes. The windowBoundingRect (which
> would set the height to about 580) is prevented by the
> formatForPrinting property of the stack. So the stack opens,
> partly off screen. And I can print it.
>
> I can't see another way around it unless Scott makes it
> possible to print the full size of groups or scrolling
> fields, etc. regardless of the window size. I have the
> feeling that he is moving in that direction, at least
> partially. But in the mean time
>
> Hope this helps.
>
> Raymond
>
>
> 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: Subject: Backdrops

2001-01-24 Thread Raymond E. Griffith

on Wed, 24 Jan 2001 19:40:10 +1030 "Monte Goulding"
<[EMAIL PROTECTED]> perplexedly asked:

> I still don't get what the formatForPrinting has to do
with the
> windowBoundingRect. This may override the property but
surely changing the
> windowBoundingRect would be the most obvious soloution.

It isn't obvious, is it? Well, it had to be explained to me
a couple of times.

The windowBoundingRect is to prevent stacks from being off
screen. So it looks at the screenrect, takes off for menu
bars, and resizes your stack accordingly whether you like it
or not. You can't set the windowBoundingRect to be larger
than the screenrect.

You can overcome this by typing into the message box:

"set the formatForPrinting of this stack to true"

It only has to be done once -- provided you save the stack.
(I think.)

This allows MC to understand that you intend to print the
card.

Why is this important? Say I want to print a letter from a
card onto regular letter paper (say 8.5 inches by 11
inches -- with apologies to our metric neighbors). You can't
do it if the card won't open with enough height. The card
would need to be 9 inches tall (9*72 = 648 pixels) assuming
a 1-inch margin at the top and bottom. Now I generally use
an 800x600 screen because the larger screen size makes the
type too small for my eyes. The windowBoundingRect (which
would set the height to about 580) is prevented by the
formatForPrinting property of the stack. So the stack opens,
partly off screen. And I can print it.

I can't see another way around it unless Scott makes it
possible to print the full size of groups or scrolling
fields, etc. regardless of the window size. I have the
feeling that he is moving in that direction, at least
partially. But in the mean time

Hope this helps.

Raymond


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: Subject: Backdrops

2001-01-24 Thread Jacqueline Landman Gay

Monte Goulding wrote:
> 
> This seems incredably strange. Are you sure you didn't leave MC open while
> changging the screen resoloution. This would cause the same problem because
> the screenRect stays whatever it is at startUp

When I queried the message box for the screenrect, it always returned
the correct size. Same for the windowBoundingRect. I was quitting
MetaCard between sessions.

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | 612-724-1596
Custom hypermedia solutions| http://www.hyperactivesw.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.




RE: Subject: Backdrops

2001-01-24 Thread Monte Goulding

This seems incredably strange. Are you sure you didn't leave MC open while
changging the screen resoloution. This would cause the same problem because
the screenRect stays whatever it is at startUp

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jacqueline Landman
> Gay
> Sent: Wednesday, 24 January 2001 1:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Subject: Backdrops
>
>
> Thanks, everyone, for the replies. The decorations on the stack were
> already set to none, so that wasn't it. When I set the monitor
> resolution to 640x480 and asked for the windowBoundingRect in the
> message box, it returned the screenrect, as it is supposed to, adjusted
> to accomodate the Mac menubar. So that wasn't it. What appears to have
> been happening is that the stack actually resized itself when running at
> a lower resolution. If I put "set the width of this stack to 640" into
> the message box, it expanded to fill the screen. At larger monitor
> resolutions, the stack displayed its full width and height
> automatically, but at the lower resolution it resized itself improperly.
>
> The stack was developed entirely in a larger monitor resolution, but had
> never been saved at a lower one. So I set the correct dimensions via the
> message box and saved the stack while running at the lower resolution.
> That seems to have fixed it. I can now open the stack in any resolution
> and it appears at its complete size.
>
> Looks like a glitch somewhere, but explicitly saving while running at
> the lower resolution seems to solve the problem. This was a converted
> HyperCard stack, so maybe that has something to do with it.
>
> >
> > > From: Jacqueline Landman Gay <[EMAIL PROTECTED]>
> > > Subject: Backdrops
> > > Date: Tue, 23 Jan 2001 14:38:44 -0600
> > > MIME-Version: 1.0
> > > Content-Type: text/plain; charset=us-ascii
> > > Content-Transfer-Encoding: 7bit
> > >
> > > I have a stack that displays a backdrop and hides the
> > menubar. It works
> > > fine except when the monitor is set to 640x480 (which is
> > the same size
> > > as the stack). In that case, the stack is clipped off on
> > the right and
> > > bottom, eliminating much of the card. The idea is to fill
> > the screen
> > > with the stack.
> > >
> > > I have tried using a script that checks the screenrect and
> > sets the
> > > backdrop to "none" if the screenrect is the same size as
> > the stack, but
> > > it doesn't solve the problem. At 640x480 resolution, the
> > stack gets cut
> > > off no matter what. There is room at the edges of the
> > monitor for the
> > > rest of the stack, it just isn't being drawn to the
> > screen. Instead I
> > > can see through to the Finder at these edges (or I see the
> > backdrop if I
> > > don't use the script that checks the size of the
> > screenrect.)
> > >
> > > Solutions?
> > > --
> > > Jacqueline Landman Gay |
> > [EMAIL PROTECTED]
> > > HyperActive Software   | 612-724-1596
> > > Custom hypermedia solutions|
> > http://www.hyperactivesw.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.
>
>
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | 612-724-1596
> Custom hypermedia solutions| http://www.hyperactivesw.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.
>


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: Subject: Backdrops

2001-01-24 Thread Monte Goulding

I still don't get what the formatForPrinting has to do with the
windowBoundingRect. This may override the property but surely changing the
windowBoundingRect would be the most obvious soloution.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Raymond E. Griffith
> Sent: Wednesday, 24 January 2001 9:06 AM
> To: [EMAIL PROTECTED]
> Subject: Subject: Backdrops
>
>
> Jacque,
>
> You may be running into the windowBoundingRect property. It
> has a nasty habit of cutting off stacks. Try setting the
> formatForPrinting of the stack to true. You may still have
> to recenter your stack, but it won't cut things off.
>
> Cheers,
>
> Raymond
>
> > From: Jacqueline Landman Gay <[EMAIL PROTECTED]>
> > Subject: Backdrops
> > Date: Tue, 23 Jan 2001 14:38:44 -0600
> > MIME-Version: 1.0
> > Content-Type: text/plain; charset=us-ascii
> > Content-Transfer-Encoding: 7bit
> >
> > I have a stack that displays a backdrop and hides the
> menubar. It works
> > fine except when the monitor is set to 640x480 (which is
> the same size
> > as the stack). In that case, the stack is clipped off on
> the right and
> > bottom, eliminating much of the card. The idea is to fill
> the screen
> > with the stack.
> >
> > I have tried using a script that checks the screenrect and
> sets the
> > backdrop to "none" if the screenrect is the same size as
> the stack, but
> > it doesn't solve the problem. At 640x480 resolution, the
> stack gets cut
> > off no matter what. There is room at the edges of the
> monitor for the
> > rest of the stack, it just isn't being drawn to the
> screen. Instead I
> > can see through to the Finder at these edges (or I see the
> backdrop if I
> > don't use the script that checks the size of the
> screenrect.)
> >
> > Solutions?
> > --
> > Jacqueline Landman Gay |
> [EMAIL PROTECTED]
> > HyperActive Software   | 612-724-1596
> > Custom hypermedia solutions|
> http://www.hyperactivesw.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.
>


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: Subject: Backdrops

2001-01-23 Thread Jacqueline Landman Gay

Thanks, everyone, for the replies. The decorations on the stack were
already set to none, so that wasn't it. When I set the monitor
resolution to 640x480 and asked for the windowBoundingRect in the
message box, it returned the screenrect, as it is supposed to, adjusted
to accomodate the Mac menubar. So that wasn't it. What appears to have
been happening is that the stack actually resized itself when running at
a lower resolution. If I put "set the width of this stack to 640" into
the message box, it expanded to fill the screen. At larger monitor
resolutions, the stack displayed its full width and height
automatically, but at the lower resolution it resized itself improperly.

The stack was developed entirely in a larger monitor resolution, but had
never been saved at a lower one. So I set the correct dimensions via the
message box and saved the stack while running at the lower resolution.
That seems to have fixed it. I can now open the stack in any resolution
and it appears at its complete size.

Looks like a glitch somewhere, but explicitly saving while running at
the lower resolution seems to solve the problem. This was a converted
HyperCard stack, so maybe that has something to do with it.

> 
> > From: Jacqueline Landman Gay <[EMAIL PROTECTED]>
> > Subject: Backdrops
> > Date: Tue, 23 Jan 2001 14:38:44 -0600
> > MIME-Version: 1.0
> > Content-Type: text/plain; charset=us-ascii
> > Content-Transfer-Encoding: 7bit
> >
> > I have a stack that displays a backdrop and hides the
> menubar. It works
> > fine except when the monitor is set to 640x480 (which is
> the same size
> > as the stack). In that case, the stack is clipped off on
> the right and
> > bottom, eliminating much of the card. The idea is to fill
> the screen
> > with the stack.
> >
> > I have tried using a script that checks the screenrect and
> sets the
> > backdrop to "none" if the screenrect is the same size as
> the stack, but
> > it doesn't solve the problem. At 640x480 resolution, the
> stack gets cut
> > off no matter what. There is room at the edges of the
> monitor for the
> > rest of the stack, it just isn't being drawn to the
> screen. Instead I
> > can see through to the Finder at these edges (or I see the
> backdrop if I
> > don't use the script that checks the size of the
> screenrect.)
> >
> > Solutions?
> > --
> > Jacqueline Landman Gay |
> [EMAIL PROTECTED]
> > HyperActive Software   | 612-724-1596
> > Custom hypermedia solutions|
> http://www.hyperactivesw.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.


-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | 612-724-1596
Custom hypermedia solutions| http://www.hyperactivesw.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.