D
David M. Marcovitz
I am working with someone who is having a problem, and I can't figure it
out. She is trying to do something fairly simple. I am looking at the
presentation in Windows XP, PowerPoint 2002. Early in the presentation,
she hides some shapes. For example:
ActivePresentation.Slides(9).Shapes("Q1Button").Visible = False
ActivePresentation.Slides(9).Shapes("Q1TextBox").Visible = False
Later in the presentation, while looking at slide 9, she shows the
shapes:
ActivePresentation.Slides(9).Shapes("Q1Button").Visible = True
ActivePresentation.Slides(9).Shapes("Q1TextBox").Visible = True
The problem is that the shapes don't show up until after exiting the
slide show. The screen does not seem to be refreshing. I tried a few
things. I tried going to the slide:
ActivePresentation.SlideShowWindow.View.GotoSlide 9
but that did not refresh the slide. Then, I added some shapes. When I
added a shape on the slide and hid it along with the other two shapes,
the two orignal shapes showed up and the added shape showed up but part
of it was cut off. Then I deleted the additional shape and added a small
shape off the slide and that worked perfectly. I did this for all the
slides, and they all seem to work fine now, but it doesn't instill much
confidence in me because I can't explain it.
As a final thing, I tried deleting the shapes and adding new ones with
the same name, but that did not help, so I went back to the small added
shape solution.
Is tehre something else we should be doing to refresh the screen
properly? Or is there a logical explanation for this behavior?
Thanks for your help.
--David
--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
out. She is trying to do something fairly simple. I am looking at the
presentation in Windows XP, PowerPoint 2002. Early in the presentation,
she hides some shapes. For example:
ActivePresentation.Slides(9).Shapes("Q1Button").Visible = False
ActivePresentation.Slides(9).Shapes("Q1TextBox").Visible = False
Later in the presentation, while looking at slide 9, she shows the
shapes:
ActivePresentation.Slides(9).Shapes("Q1Button").Visible = True
ActivePresentation.Slides(9).Shapes("Q1TextBox").Visible = True
The problem is that the shapes don't show up until after exiting the
slide show. The screen does not seem to be refreshing. I tried a few
things. I tried going to the slide:
ActivePresentation.SlideShowWindow.View.GotoSlide 9
but that did not refresh the slide. Then, I added some shapes. When I
added a shape on the slide and hid it along with the other two shapes,
the two orignal shapes showed up and the added shape showed up but part
of it was cut off. Then I deleted the additional shape and added a small
shape off the slide and that worked perfectly. I did this for all the
slides, and they all seem to work fine now, but it doesn't instill much
confidence in me because I can't explain it.
As a final thing, I tried deleting the shapes and adding new ones with
the same name, but that did not help, so I went back to the small added
shape solution.
Is tehre something else we should be doing to refresh the screen
properly? Or is there a logical explanation for this behavior?
Thanks for your help.
--David
--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/