txtIReportManager SetDefaultBackgroundColor

Sets the default background color.

Syntax

txtIReportManager_handle SetDefaultBackgroundColor color

Application

HyperWorks Tcl Modify

Description

This command sets the default text background color in TextView. You must open a new TextViewsession to notice the changes in the default settings.

Inputs

color
The number representing the index (position) of the color (from the color palette) that you want to set as the default background color.

Example

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

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Text Edit

Modify