Skip to main content
aaronm74762640
Known Participant
October 18, 2017
Answered

Multi-Functional Button

  • October 18, 2017
  • 2 replies
  • 265 views

Hello,

I'm fairly new to Captivate and I was wondering how do I make a button be a multi-function purpose. For example, I want a X shape to function to close the TOC when it opens and also exit the program as well. Is this possible?

This topic has been closed for replies.
Correct answer Lilybiri

OK, that is different. You will need to create a conditional action. There

is a system variable cpCmndTOCVisible, which is a Boolean. If the TOC is

visible it has the value 1, if it is not visible, the value is 0.

The conditional action will be like this:

IF cpCmndTOCVisible is equal to 1

Assign cpCmndTOCVisible with 0

ELSE

Exit

2 replies

Lilybiri
Legend
October 18, 2017

Sorry, closed too quickly. You can combine multiple commands in an advanced

or shared action.

Lilybiri
Legend
October 18, 2017

What is the purpose of closing the TOC if you are exiting?

aaronm74762640
Known Participant
October 18, 2017

The function I want to work is, if they open the TOC menu I want the X shape to function to close the TOC, if no TOC menu has been open the X shape will function as a exit course.

Lilybiri
LilybiriCorrect answer
Legend
October 18, 2017

OK, that is different. You will need to create a conditional action. There

is a system variable cpCmndTOCVisible, which is a Boolean. If the TOC is

visible it has the value 1, if it is not visible, the value is 0.

The conditional action will be like this:

IF cpCmndTOCVisible is equal to 1

Assign cpCmndTOCVisible with 0

ELSE

Exit