if expression
actions
endif
Where parts of a dialog are selectively displayed, you can check which parts are managed and realized using the IsManaged and IsRealized expressions.
IsVisible is intended for small (VGA) displays where the whole of a dialog may not be visible on the screen. This is important as Motif TAB navigation traversal model ignores controls which are off screen.
IsHere simply checks whether the widget exists in the current shell.
in ApplicationShell
cascade file_menu
select fm_menu.fm_exit
if IsVisible(save_dialog)
in save_dialog
push save.ok
else
message Save Dialog cannot be seen
endif
See also: