dialog.showItem

Syntax dialog.showItem (itemnumber)

Params itemnumber is the number of a dialog item in a dialog defined using Macintosh resources.

Action If dialog item itemnumber is hidden, show it. If it is already visible, this verb has no effect.

Returns True

Examples dialog.showItem (1) //show item 1

   » true

Errors If itemnumber is out of range for the dialog, an error results.

If you call this verb from a script that is not an itemhit handler (see "Notes," below, for details), an error results.

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes This is an advanced Frontier verb of primary interest to implementers and advanced scripters. It is not necessary to understand it to use Frontier effectively for most tasks.

This verb only works if there's a dialog box displayed. Thus it is valid only when called from a script that is an itemhit handler, whose address was passed to dialog.run or dialog.runModeless.

See Also dialog.hideItem

dialog.run

dialog.runModeless

Discuss