Equinox Online Help - Language Reference - A to Z

Home

ShowOverlay

Applies to
SyntaxShowOverlay PageNameExpression, OverlayNumberExpression [,LogicalExpression]
Action[Statement] Controls whether a particular overlay is visible.
ScopeOnly usable in form methods.
Notes

This statement displays or hides an overlay specified by the OverlayNumberExpression parameter, where the parameter PageNameExpression is the page's object name. Note that the object name is a string. If supplied as a constant, it must be enclosed in quotation marks. The overlay can be displayed or hidden depending upon the optional LogicalExpression value (True or False). If the LogicalExpression parameter is omitted it will default to True.

CategoryTabbed controls
See Also ChangeTab, ActiveTab, SetTabText
Example

The following method determines whether a field contains a picture. If it doesn't the overlay with the picture field is hidden.

if Not (IsPicture(ContactPhoto)) then ShowOverlay "PicPage", 2, false