Re: Vertical scroll on long image
- From: Steve Rindsberg <abuse@xxxxxxxxxxxxx>
- Date: Tue, 16 Jun 2009 15:25:15 -0400
In article <e7B5Kjp7JHA.2456@xxxxxxxxxxxxxxxxxxxx>, Chris Watts wrote:
Many thanks Steve.
I have succeeded and now have a macro that will scroll up a long image
(within the limits of its original top position and the bottom of the
screen) and will allow the scroll to be paused and resumed with key-presses.
I will happily post it here if you think it might be of wider interest..
By all means, yes, please do.
And if you don't mind my adding it to the PPT FAQ, let me know.
cheers
Chris
"Steve Rindsberg" <abuse@xxxxxxxxxxxxx> wrote in message
news:VA.00004ed4.3dcde064@xxxxxxxxxxxxxxxx
In article <e4Cbirf7JHA.1764@xxxxxxxxxxxxxxxxxxxx>, Chris Watts wrote:
Is there one for capturing the pressing of a specific key? I can work
with
that.
Again, this'll need WinAPI calls, but it's not too difficult:
This example assumes you're using a form but could be adapted:
http://support.microsoft.com/kb/277916
http://gpwiki.org/index.php/VB:Tutorials:WINAPI:GetKeyState_API
Google GetKeyState for more examples.
cheers
Chris
"Steve Rindsberg" <abuse@xxxxxxxxxxxxx> wrote in message
news:VA.00004ece.3c53c894@xxxxxxxxxxxxxxxx
In article <#dOXxpd7JHA.4100@xxxxxxxxxxxxxxxxxxxx>, Chris Watts wrote:
I derived it from something a read on a web posting (not here) -
clearly
from what you say it is not correct!
What is the native expressing for capturing a mouse-click event?
PowerPoint doesn't have one, unfortunately. Or if it does, I've never
heard of
it.
You might have to look to the Windows API for this.
cheers
Chris
"Steve Rindsberg" <abuse@xxxxxxxxxxxxx> wrote in message
news:VA.00004eca.3b5d4577@xxxxxxxxxxxxxxxx
Where did the MouseButtons.Left code come from? It's not native to
PowerPoint.
In article <u6SVu8Z7JHA.5180@xxxxxxxxxxxxxxxxxxxx>, Chris Watts
wrote:
I have adapted some VBA code originally written by Bill Dilworrh
(many
thanks to you Bill) that achieves pretty much what I need. The
code
is
below - and it works, even if rather slowly, in PPT 2007.
I wish to add some code so that I can interupt the scrolling with a
mouse
click - and then restart it with another mouse click..
When I add the commented-out line
If MouseButtons.Left = True Then GoTo Pause
all that happens is that the code runs and moves the image up only
one
step
and then stops with no action from me. What am I doing wrong?
cheers
Chris
======================
Sub MoveUp(oShp As Shape)
'Determine the endpoint for the motion.
'In this case when the bottom edge of the image lines _
up with starting top of the image.
Endpoint = oShp.Top - oShp.Height
'Define amount to move image
Shift = 20
Offset = 475
While oShp.Top > Endpoint + Offset
'Move the picture a little upwards
oShp.Top = oShp.Top - Shift
'Re-render the screen
DoEvents
' If MouseButtons.Left = True Then GoTo Pause
'Loop back if not done
Wend
Pause:
End Sub
==========================
"Chris Watts" <ng@xxxxxxxxxxxxxxxx> wrote in message
news:%23H8iYAP6JHA.1372@xxxxxxxxxxxxxxxxxxxxxxx
PPT 2007
I am trying to achieve a credit animation (or similar slow
vertical
scroll) on an image that is about five times the screen height.
Everything that I have tried (eg Motion path, crawl in, ascend)
does
scroll but not for the whole height of the image - it either
crops
off
the
top or bottom as if it didn't exist. It looks as if these
effects
have
a
height limit. Is that so? Is the a way around it?
TIA
cheers
Chris
==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/
PPTools add-ins for PowerPoint
http://www.pptools.com/
==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/
PPTools add-ins for PowerPoint
http://www.pptools.com/
==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/
PPTools add-ins for PowerPoint
http://www.pptools.com/
==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/
PPTools add-ins for PowerPoint
http://www.pptools.com/
.
- Follow-Ups:
- Re: Vertical scroll on long image
- From: Chris Watts
- Re: Vertical scroll on long image
- References:
- Vertical scroll on long image
- From: Chris Watts
- Re: Vertical scroll on long image
- From: Chris Watts
- Re: Vertical scroll on long image
- From: Steve Rindsberg
- Re: Vertical scroll on long image
- From: Chris Watts
- Re: Vertical scroll on long image
- From: Steve Rindsberg
- Re: Vertical scroll on long image
- From: Chris Watts
- Re: Vertical scroll on long image
- From: Steve Rindsberg
- Re: Vertical scroll on long image
- From: Chris Watts
- Vertical scroll on long image
- Prev by Date: Powerpoint 2007 Drawing Tools
- Next by Date: How do I get pasted text to format like surrounding text in PPT?
- Previous by thread: Re: Vertical scroll on long image
- Next by thread: Re: Vertical scroll on long image
- Index(es):
Relevant Pages
|