Hi
PPT presentation contaning one label and one image control. Both of these were added via the Control Toolbox.
following code behind click event of label:
image1.visible = false
Now this is where the fun and games begins this code is def. being executed but the image doesn't disappear when the slideshow is running - it has disappeared though when I stop the slideshow and view the slide in design view. If I check the properties of image1 then visible has indeed been set to false.
If I modify the code to move the image or resize it - all is fine - it's just when I change the visible property!
have tried msoFalse but it makes no difference.
Did think that I might have to refresh/repaint/redraw screen but can't find appropriate commands.
Finally...
Please don't post an answer of "use a macro" - I know that I could use an action button with a shape and it would work but I need to do a lot more to this and that requires VBA so I'd like to solve the whole thing that way.
Thanks
PPT presentation contaning one label and one image control. Both of these were added via the Control Toolbox.
following code behind click event of label:
image1.visible = false
Now this is where the fun and games begins this code is def. being executed but the image doesn't disappear when the slideshow is running - it has disappeared though when I stop the slideshow and view the slide in design view. If I check the properties of image1 then visible has indeed been set to false.
If I modify the code to move the image or resize it - all is fine - it's just when I change the visible property!
have tried msoFalse but it makes no difference.
Did think that I might have to refresh/repaint/redraw screen but can't find appropriate commands.
Finally...
Please don't post an answer of "use a macro" - I know that I could use an action button with a shape and it would work but I need to do a lot more to this and that requires VBA so I'd like to solve the whole thing that way.
Thanks