Chapter Contents |
Previous |
Next |
Widget Class: _tabIn |
Syntax | |
Details |
Syntax |
objectName._tabIn( ); |
Details |
The _tabIn 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 active. An object is made active when it is selected or tabbed to or when the _cursor method has been invoked on the object.
This method can be used to control the appearance of the active object in a frame.
Example
Change the border color and title when the object is made active:
length _method_ color $ 40; TABIN: method; _super_.method(); /* save original border color and title */ /* (used in _tabOut) */ _self_._getBorderColor(color); rc = setnitemc(_self_, color,'original color'); list = makelist(); _self_._getRegion(list); rc = setnitemc(_self_, getnitemc( list, 'title), 'original title'); rc = dellist(list, 'y'); _self_._setBorderTitle("I'm active"); _self_._setBorderColor(green); endmethod;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.