Chapter Contents

Previous

Next
Widget Class: _isGray

Widget Class: _isGray



Reports whether a widget in the window is currently active or inactive (grayed)


Syntax
Details

Syntax

objectName._isGray( isGray );

Argument Type Use Description
isGray Numeric Output returns a value indicating the state of the widget: 1 is inactive, 0 is active


Details

The _isGray method has the same functionality as the isGray function in SCL. However, only the _isGray method can determine whether a widget in a different entry is grayed.

The _isGray method for the RadioBox class has additional capabilities. See the RadioBox class.

Example

_isGray determines whether a push button named update is grayed:

update._isGray('isGray');
if isGray then
   put 'the update button is gray';
else
   put 'the update button is active';


Chapter Contents

Previous

Next

Top of Page

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