Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.setCustomCheckbox
Syntax
Player.setCustomCheckbox(theItem, desiredState)
Parameters
theItem is either a name or ID number.
desiredState is checked (1) or unchecked (0).
Action
Checks or unchecks the indicated item.
Returns
True.
Examples
with Player « ", constants" was required in 1.0x but is optional in 1.1
setCustomCheckbox("Verify", checked)
Player.setCustomCheckbox("Verify", 1) « use value instead of the constant
Errors
The item does not exist or is not enabled.
Notes
- This verb is useful for a dialog item that behaves like a checkbox even though it is not a true Macintosh checkbox. It may or may not look like a standard checkbox.
- This verb will not work for a three-way checkbox.
- See the Constants section of Chapter 6. for additional notes.
- By default, Player matches only the number of characters specified in the verb parameter. This feature has the benefit of ignoring trailing punctuation, but will occasionally find a false match.
- By default, name matching is not case sensitive.
See Also
Player.setCheckbox
Player.setCheckboxSequence
Player.setCompleteMatch
Keywords
dialogItems[5] choices
setDialogFolder
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.