Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Labels/Titles API > Methods

Labels/Titles API: setFieldTooltip

Scroll Prev Next More

 

Sets the field tooltip.

Syntax

Labels.setFieldTooltip(table, field, tooltip, language)

Arguments

table

the table name.

field

the field name.

tooltip

the field tooltip.

language

the language of the tooltip. If the language parameter is not specified, the current language is used.

Return value

No return value.

Example

This example shows how to change the "descr" field tooltip of the "carscars" table to "My new tooltip".

 

Note: You can use this code in the AfterAppInit, AfterTableInit, BeforeProcess events.

 

Labels.setFieldTooltip("carscars", "descr", "My new tooltip");

See also:

Labels/Titles API: getFieldTooltip()

Miscellaneous settings: Edit form tooltips

Page Designer: Working with page elements

About Labels/Titles API