Prev: Inserted Pictures keep disappearing replaced w/ white box with a r
Next: does anyone know how to make powerpoint countdown
From: Bill Foley on 22 Mar 2010 20:40 Hey gang, Guess who's back! I finally broke down and bought Office 2007 (not sure why though)! One of my games is not working correctly and I have no idea why. I have very simple code that hides text boxes, then shows them when needed using VBA. One of the objects shows up but the other one doesn't. Yes, I verified the names of the shapes. I've used this in PPT 2003 for years with no problems. If I go out of Slide Show mode, the text boxes the didn't show up are visible. Is this some sort of known bug with PPT 2007? Any ideas? They are simple text boxes. Nothing more. Both created the exact same way in PPT 2003. HELP! Bill Foley
From: Steve Rindsberg on 23 Mar 2010 22:42 In article <eB87FfvyKHA.4492(a)TK2MSFTNGP05.phx.gbl>, Bill Foley wrote: > Hey gang, > > Guess who's back! Waaal HOWDY Tex! > I finally broke down and bought Office 2007 (not sure why > though)! One of my games is not working correctly and I have no idea why. > I have very simple code that hides text boxes, then shows them when needed > using VBA. One of the objects shows up but the other one doesn't. Yes, I > verified the names of the shapes. I've used this in PPT 2003 for years with > no problems. If I go out of Slide Show mode, the text boxes the didn't show > up are visible. > > Is this some sort of known bug with PPT 2007? Any ideas? They are simple > text boxes. Nothing more. Both created the exact same way in PPT 2003. Several folks have reported similar problems, where making something invisible/visible in code doesn't change what the user sees on screen in slide show view. It might be enough to do a View.GoToSlide(CurrentSlideIndex) to force a refresh. If not ... um ... 2010's not far off. ============================== PPT Frequently Asked Questions http://www.pptfaq.com/ PPTools add-ins for PowerPoint http://www.pptools.com/
From: David Marcovitz on 24 Mar 2010 09:06 On 3/23/10 10:42 PM, Steve Rindsberg wrote: > In article<eB87FfvyKHA.4492(a)TK2MSFTNGP05.phx.gbl>, Bill Foley wrote: >> Hey gang, >> >> Guess who's back! > > Waaal HOWDY Tex! > >> I finally broke down and bought Office 2007 (not sure why >> though)! One of my games is not working correctly and I have no idea why. >> I have very simple code that hides text boxes, then shows them when needed >> using VBA. One of the objects shows up but the other one doesn't. Yes, I >> verified the names of the shapes. I've used this in PPT 2003 for years with >> no problems. If I go out of Slide Show mode, the text boxes the didn't show >> up are visible. >> >> Is this some sort of known bug with PPT 2007? Any ideas? They are simple >> text boxes. Nothing more. Both created the exact same way in PPT 2003. > > Several folks have reported similar problems, where making something > invisible/visible in code doesn't change what the user sees on screen in slide > show view. > > It might be enough to do a View.GoToSlide(CurrentSlideIndex) to force a > refresh. If not ... um ... 2010's not far off. > > > ============================== > PPT Frequently Asked Questions > http://www.pptfaq.com/ > > PPTools add-ins for PowerPoint > http://www.pptools.com/ > > What Steve said and ... I started noticing this when I was teaching my class that uses VBA last summer (I had people using 2003, 2004, and 2007 in the class). I found that the best solution was to have the shape move off the viewable area of the screen (e.g., set .Top to 5000). The problem is that you then have to keep track of the original .Top so you can move it back to make it visible. For my non-programming students, it was another annoying layer of complexity. By the way, welcome back! --David -- David M. Marcovitz Author of _Powerful PowerPoint for Educators_ http://www.PowerfulPowerPoint.com/ Microsoft PowerPoint MVP Associate Professor, Loyola University Maryland
From: Steve Rindsberg on 24 Mar 2010 12:33 Thanks, David. I couldn't recall that li'l trick but knew you'd be along with it shortly. Tip o' the 10-gallon hat to the man from Maryland. > I started noticing this when I was teaching my class that uses VBA last > summer (I had people using 2003, 2004, and 2007 in the class). I found > that the best solution was to have the shape move off the viewable area > of the screen (e.g., set .Top to 5000). The problem is that you then > have to keep track of the original .Top so you can move it back to make > it visible. Tags are good for this type of thing. For my non-programming students, it was another annoying > layer of complexity. > > By the way, welcome back! > > --David ============================== PPT Frequently Asked Questions http://www.pptfaq.com/ PPTools add-ins for PowerPoint http://www.pptools.com/
From: David Marcovitz on 24 Mar 2010 13:07
I knew you would suggest tags, partly because they are a great solution for this. I haven't played with them for this, but as I was writing my post, I was imagining the code that would have a HideObject procedure that would simultaneously move the object off the viewable portion of the slide and then add a tag with the current location (but not in that order). Then the ShowObject code would simply look in the tag to see where the object was supposed to go. I guess I'll have to play with that this summer when I teach my multimedia design class again. --David On 3/24/10 12:33 PM, Steve Rindsberg wrote: > Thanks, David. I couldn't recall that li'l trick but knew you'd be along with it > shortly. Tip o' the 10-gallon hat to the man from Maryland. > >> I started noticing this when I was teaching my class that uses VBA last >> summer (I had people using 2003, 2004, and 2007 in the class). I found >> that the best solution was to have the shape move off the viewable area >> of the screen (e.g., set .Top to 5000). The problem is that you then >> have to keep track of the original .Top so you can move it back to make >> it visible. > > Tags are good for this type of thing. > > > For my non-programming students, it was another annoying >> layer of complexity. >> >> By the way, welcome back! >> >> --David > > > ============================== > PPT Frequently Asked Questions > http://www.pptfaq.com/ > > PPTools add-ins for PowerPoint > http://www.pptools.com/ > > -- David M. Marcovitz Author of _Powerful PowerPoint for Educators_ http://www.PowerfulPowerPoint.com/ Microsoft PowerPoint MVP Associate Professor, Loyola University Maryland |