Consulting

Results 1 to 4 of 4

Thread: PP How to send ActiveX control to back

  1. #1
    VBAX Contributor
    Joined
    Jul 2017
    Location
    Zurich
    Posts
    132
    Location

    PP How to send ActiveX control to back

    Hi folks

    Yet another issue with PP, but not necessarily directly related to VB:

    So, I added two Checkboxes (Ja/Nein, see below, right screenshot) to a slide, which I'd like to pop up together with an animation on mouse click (ie. description about the purpose of the boxes). Unfortunately, Checkboxes can't be included in the animation, which is why I added a white box on top them and told the animation to make it disappear on click (see below, left screenshot). All good so far.

    However, when running the presentation, the Checkboxes will always be brought to the front, making the white boxes useless.

    Does anybody know a workaround this?
    1.png 2.png

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    ActivX object always move to the front.

    You can create your own non activx "checkbox" though which can be covered.

    check.pptm
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    VBAX Contributor
    Joined
    Jul 2017
    Location
    Zurich
    Posts
    132
    Location
    Thank you John, that does the trick and looks way better than the archaic ActiveX Checkboxes

    However, although it works, I don't really understand how the procedure is triggered; the code is so simple, and there is no referral to the name of the rectangle. For example, when I insert another rectangle box, run the presentation and click on that one, nothing happens.
    Last edited by nikki333; 04-12-2018 at 10:28 AM.

  4. #4
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    The code auto references the shape clicked just give each shape an action of run macro (the same macro)
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •