Chapter Contents

Previous

Next
Widget Class: _tabOut

Widget Class: _tabOut



Invoked when object is made inactive


Syntax
Details

Syntax

objectName._tabOut( );


Details

The _tabOut method, which is normally used when an object is subclassed, is not called by SCL code; it is invoked automatically by the frame when the object is made inactive. an object is made inactive when a new object is made active.

Use this method to control the appearance of the inactive objects in a frame.

Example

Restore the border color and title when the object is made inactive:

length_method_ color title $ 40;

TABOUT:
 method;
  _super_._method();

  /* get original border color and title (set in _tabIn) */
  color = getnitemc(_self_, 'original color');
  title = getnitemc( _self_, 'original title');

  rc = delnitem( _self_, 'original color');
  rc = delnitem( _self_, 'original title');

  _self_._setBorderTitle(title);
  _self_._setBorderColor(color);
 endmethod;


Chapter Contents

Previous

Next

Top of Page

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