PreFab...Player...Documentation...Frontier...User's Guide...Chapter 5, Verbs...One Verb Per Page...

Player.setCheckbox


Syntax

Player.setCheckbox(theCheckbox, desiredState)


Parameters

theCheckbox is either a name or ID number.

desiredState is checked (1) or unchecked (0).


Action

Checks or unchecks the indicated checkbox.


Returns

True.


Examples

with Player « ", constants" was required in 1.0x but is optional in 1.1
   setCheckbox("Verify", checked)
Player.setCheckbox("Verify", 1) « use value instead of constant


Errors

The checkbox does not exist or is not enabled.


Notes



See Also

Player.setCheckboxSequence
Player.setCustomCheckbox
Player.toggleCheckbox
Player.checkboxExists
Player.getItemInfo
Player.getItemAttribute
Player.setCompleteMatch


Keywords

dialogItems[4] choices

| Top |


setCaseSensitive| Prev | Home | Next |setCheckboxSequence

Updated on 2/5/97 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.