Chapter Contents

Previous

Next
Widget Class: _isDisplayed

Widget Class: _isDisplayed



Reports whether a widget is currently visible in the window


Syntax
Details

Syntax

objectName._isDisplayed( isDisplayed );

Argument Type Use Description
isDisplayed Numeric Output returns a value indicating whether the widget is displayed: 1 is displayed, 0 is not displayed


Details

You may also use the displayed function to return the displayed status of a widget, but the _isDisplayed method is the only way to determine a widget's displayed status from another SCL entry such as a method.

_isDisplayed returns a value of 0 if the widget is hidden, swapped out (see _swapOut), or scrolled out of view from a work area object. It also returns a value of 0 for text entry objects if the noDisplay attribute is set.

Example

_isDisplayed determines whether the widget named UPDATE is displayed:

update._isDisplayed('isDisplayed');
if isDisplayed then
   put 'the UPDATE button is displayed';
else
   put 'the UPDATE button is not displayed';


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.