Please enable JavaScript to view this site.

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

Labels/Titles API: setTableCaption

Scroll Prev Next More

 

Sets the table caption.

Syntax

Labels_setTableCaption table, caption, language

Arguments

table

the table name.

caption

a new table caption. Captions can be set in the Label Editor.

language

the language of the caption. Specify an empty string "" for the language parameter to use the current language.

Return value

No return value.

Example

Captions can be set in the Label Editor. This example shows how to change the "carscars" table caption to "New Cars".

 

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

 

Labels_setTableCaption "carscars", "New Cars", "English"

See also:

Labels/Titles API: getTableCaption()

Miscellaneous settings: Table labels

About Labels/Titles API