A script-enabled browser is required for this page to function properly.

SRW.SET_DISPLAY_NAME built-in procedure

This procedure specifies text that displays in a popup as the cursor moves over an image object in reports output in HTML or HTMLCSS format.

Syntax

SRW.SET_DISPLAY NAME('text_string');

Parameter

Description

text_string

Is any text string that only makes use of the 26 upper or lower case US ASCII letters, numbers, or underscore characters. Other special characters will automatically be converted to underscore characters.

GUI access

You can also define this attribute using the Reports Builder user interface:

Property Inspector

set the Alternative Text property

Restrictions

SRW.SET_DISPLAY_NAME should only be set in a format trigger.

Example

The format trigger below assigns a text string ('Click here to fill your shopping basket') to the image object BASKET. In the HTML report, this popup will display when the cursor moves over the BASKET object.


function BASKETFormatTrigger return boolean is
 begin 
  SRW.SET_DISPLAY_NAME('Click here to fill your shopping basket');
  return (TRUE);
end;

See also

About the Reports Builder built-in package (SRW)

SRW built-in package