setHyperlinkCell
setHyperlinkCell(hyperlinkRow: Integer; hyperlinkColumn: Integer);
The setHyperlinkCell method of the Table class sets up a HyperText link for a cell in a table.
The setHyperlinkCell method is ignored for JADE applications that are Web-enabled. For these applications, you should use the hyperlinkColumn array property of the Table class.
The hyperlinkRow and hyperlinkColumn parameters specify the cell in which the HyperText link is set. You can set HyperText links in more than one cell for a row.
The code fragment in the following example shows the use of the setHyperlinkCell method.
elseif checkbox.value then table1.setHyperlinkCell(table1.row, table1.column); else table1.resetHyperlinkCell(table1.row, table1.column); endif;
In a standard GUI application, the behavior of a cell with a HyperText link is as follows.
-
The display changes only when the mouse moves over the cell; the cursor becomes a pointing hand and the text is underlined. The color of the text is blue, unless the foreColor property has been set specifically for the cell.
-
If you want an action to occur when the HyperText link is clicked, you must provide the appropriate JADE logic for the click event for the table.
-
A rowColumnChg event is not required for this process to function.
In a JADE forms Web-enabled application, the HyperText link is displayed in the Web browser in a standard way. There are two points to note:
-
If you set the inputType property for the cell to any value apart from the default value (InputType_None) the hyperlink setting is ignored.
-
You must implement the rowColumnChg event for the table.