Chapter Contents

Previous

Next
Hotspot: _showHotspots

Hotspot: _showHotspots



Highlights all objects intersected by a hotspot


Syntax
Details
Example

Syntax

CALL NOTIFY (hotspot-name, '_showHotspots', <color, attr>);

Argument Type Description
color
C specifies the highlight color
attr
C specifies the display attribute of the hotspot highlight:
'BLINKING'
'HIGHLIGHT'
'HREV'
'NONE'
'REVERSE'
'UNDERLINE'





Details

If you omit the color and attr parameters, the color and attribute values specified in the Attributes window are used, and the region outline appears. Using this function, you can get a visible clue of which areas you may select. The color changes caused by this method are visible only over text entry and text label objects. Over all other objects, only the region outline becomes visible.


Example

_showHotspots highlights the hotspot and changes the color used from the default to blue reverse. HOT2 is displayed using the default color and attributes. For the color changes in the object to be seen, the hotspotted object must be of the Text Entry class. In any case, the region outline appears.

INIT:
   call notify('hot1','_show_hotspots_',
               'blue','reverse');
   call notify('hot2','_show_hotspots_');
return;


Chapter Contents

Previous

Next

Top of Page

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