Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / August 2006

Tip: Looking for answers? Try searching our database.

Why won’t the controls go invisi    ble?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sjw - 05 Aug 2006 19:02 GMT
I’m experienced with MS access but just starting programming in PowerPoint.  
I have used several controls (buttons and textboxes) from the controls
toolbar.  The controls are grouped with a shape to give the illusion of a
pop-up window.  When I click on the button the shape becomes invisible but
the controls do not.  If I go to the next slide and then return the controls
are then invisible.  If I use an Action Button instead of a Control Button I
don’t have this problem.

So……..  why won’t the controls go invisible when clicked?

Code for the control button:

btnCloseModifySetpoint is control button
txtNewDemand is control textbox

Private Sub btnCloseModifySetpoint_Click()
   Me.Shapes("grpModifySetpoints").Visible = msoFalse
   Me.btnCloseModifySetpoint.Visible = False
   Me.txtNewDemand.Visible = False    
End Sub

Thanks,

sjw
David M. Marcovitz - 07 Aug 2006 15:21 GMT
In PowerPoint, control toolbar objects are accessed by the slide they are
on so if you are hiding an object on slide 4, you might need to preface
your hiding command with Slide4. For example:

Slide4.txtNewDemand.Visible = False

You shouldn't have to do this if the button is on the same slide as the
thing being hidden. I don't know if this is your problem, but I hope it
helps.

--David
Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> I’m experienced with MS access but just starting programming in
> PowerPoint.  I have used several controls (buttons and textboxes) from
[quoted text clipped - 20 lines]
>
> sjw
sjw - 08 Aug 2006 00:34 GMT
David,

I trired using the Slide ID but the issue still remains.

I'm currently using the following work around to get the screen to refresh:
SlideShowWindows(1).View.GotoSlide 1

Slide 1 is the only slide.

Thanks for the suggestion,
sjw

> In PowerPoint, control toolbar objects are accessed by the slide they are
> on so if you are hiding an object on slide 4, you might need to preface
[quoted text clipped - 32 lines]
> >
> > sjw
David M. Marcovitz - 08 Aug 2006 15:01 GMT
OK. I get it. It's not that it's not hiding; it's that you don't see it
hide until the screen refreshes. In that case, what you are doing is the
easiest way to refresh the screen.
--David

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> David,
>
[quoted text clipped - 46 lines]
>> >
>> > sjw
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.