SlideShow.IsEnabled

boolean SlideShow.IsEnabled ( 

string ObjectName )

Example 1

enabled = SlideShow.IsEnabled("SlideShow1");

Stores true in a variable named "enabled" if the "SlideShow1" slideshow object is enabled, and false if it is disabled.

Example 2

b2Enabled = SlideShow.IsEnabled("SlideShow2");

Checks whether the "SlideShow2" slideshow object is enabled or disabled, and sets the "b2Enabled" variable to either true or false accordingly.

Tip: Starting a variable name with "b" is a technique that programmers use to help themselves remember that a variable contains a boolean value.

See also:  Related Actions