ShowItem()

Summary

Shows a previously hidden dialog box item.

Syntax

ShowItem(string item_name)

Argument Contents
item_name The name of the dialog box item to show

Notes

  • The item to be shown must be in the current dialog box.

  • ShowItem() can be called in the Init macro of a dialog box.

Example

if file_type = "Text" then do
HideItem("binary file name")
ShowItem("text file name")
end
else do
ShowItem("binary file name")
HideItem("text file name")
end

Error Codes

Error Type Meaning
NotFound The specified item does not exist or is not part of the current dialog box

See Also

Function Summary
HideItem() Hides an item in a dialog box
DisableItem() Disables a dialog box item or menu item
EnableItem() Enables a dialog box item or menu item