txtIReportManager SetDefaultTextColor

Sets the default text color.

Syntax

txtIReportManager_handle SetDefaultTextColor color

Application

HyperWorks Tcl Modify

Description

This command sets the default text color in TextView. You must open a new TextView session to notice the changes to the default setting.

Inputs

color
A number representing the index (position) of a color (from the color palette) that you want to set as the default text color.

Example

hwi GetSessionHandle sess;
sess GetClientManagerHandle mgr TextEditor;
mgr SetDefaultTextColor 16;

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

TextView

Modify