Maptitude GISDK Help

SetEditorHighlight()

Summary

Sets the highlighted cell in an editor window.

 

Syntax

SetEditorHighlight(string editor_name, array highlight)

 

Argument Contents
editor_name The editor whose highlight is changed
highlight An array of two elements, the column and the row to highlight, as follows:

 

Element Type Contents
1 Array An array of the field names of the highlighted columns
2 Array An array of the record handles of the highlighted rows

 

Notes

Example

SetEditorHighlight("States Editor", {{"State Name"}, {"123"}})

 

Error Codes

Error Type Meaning
Error The format of the highlight argument is incorrect, more than one row or column is specified, or the array of rows is null and there is no current record
NotFound The specified editor, column, or row does not exist

 

See Also

Function Summary
GetEditorHighlight() Gets the highlighted range of cells from an editor window

 

 

©2025 Caliper Corporation www.caliper.com