DisplayBox.setRollOver

Availability

Flash Player 7.

Usage

DisplayBox.setRollOver(rollText,itemType,ID,[ImageName])

Parameters

rollText The text to display when the mouse is over the specified item.

itemType Item type this rollover text belongs to: "H"-column header, "R" - row, "I" - image

ID The row ID for item types R & I, or column ID for item type H

ImageName Optional; For a type of I, the image name that was supplied when using the DisplayBox.addItemImage() function.

Returns

None.

Description

Function; Allows you to set or change the roll over text for a column header, row or image after the item has been built.

Example

This will add roll over text for a column header.

myDisplayBox.newColumn("WholeName",250,false,false,false,true,"Contacts Name",60);

myDisplayBox.setRollOver("Click here to sort by name","H",1);

This will change the roll over text for an image called Checked in row 1.

myDisplayBox.addItemImage(1,"Checked","imgCheckBoxSet",0,0,true,"Click here to change to user mode") ;

myDisplayBox.setRollOver("This is disabled","I",1,"Checked");

Author

Telsim, Inc.