Skip to main content
Known Participant
January 14, 2016
Question

Problem with making TOC invisible (cpcmndtocvisible)

  • January 14, 2016
  • 1 reply
  • 581 views

Hello,

I want to make the TOC invisible in the beginning of the project, then visible later on.

Details:

  • I'm using Cp9.
  • I haven't included a play bar.
  • By invisible/visible, I mean that I don't the TOC to be openable/visible at all. I don't even want the TOC button in the top right-hand corner to be visible when the TOC itself isn't visible.
  • I have selected Show TOC.
  • The TOC is in Overlay mode.
  • Thus far, I've only published in swf.

In an attempt to achieve this end, I've done the following:

  • On the first slide of the project, I've entered the following On-Enter command: Assign cpcmndTOCvisible with 0.
  • And on the first slide in the part of the project where the TOC should be visible, I've included the following On-Enter command: Assign cpcmndTOCvisible with 1.

This all seems straightforward, but thus far I haven't got it to work: the TOC is visible all the way through. Any suggestions would be appreciated.

Best regards,

Marvin DuBois

This topic has been closed for replies.

1 reply

Lilybiri
Legend
January 14, 2016

How did you test? Since you use CP9, why not use the must easier commands 'Show TOC' and 'Hide TOC'?

Using the system variable is necessary if you use a shared action for a toggle button, but not for simple actions. System variable works perfectly for me, because I'm using that all the time. Have a look at:

1 action = 5 Toggle Buttons - Captivate blog

I want to warn you as well: be careful because all variables are case sensitive. The correct name is cpCmndTOCVisible. A complete list and explanations can be downloaded from this article:

System variables in Captivate 8/9 - Captivate blog

DawvenAuthor
Known Participant
January 14, 2016

Thank you, Lilybiri.

I see now that I had misunderstood how cdcmndTOCvisible works. I had wanted to make the TOC completely invisible, and not simply to hide it. (The difference: If I hide the TOC, it is openable. I would like it to be completely invisible, i.e. not openable, until a certain point in the project.)

I see now that with the variable cdcmndTOCvisible 'to make visible/invisible' is the same as Show/Hide. But is there a way to make the TOC invisible/visible in the fuller sense mentioned above.

Alvast bedankt,

Marvin

Lilybiri
Legend
January 14, 2016

Hi Marvin,

If I want it less visible to open the TOC (using the small Expand icon in the top), I will replace that Expand icon by a square with the same color as the top of the TOC. It is still clickable of course, but 'invisible.'