HyperWorks Desktop

*TextEditor()

Creates an instance of a TextEditor from the given TextEditor definition.

*TextEditor()

Creates an instance of a TextEditor from the given TextEditor definition.

Previous topic Next topic No expanding text in this topic  

*TextEditor()

Creates an instance of a TextEditor from the given TextEditor definition.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*TextEditor(TextEditor_name, TextEditor_label,

                            TextEditor_def,

                            [arg_1,

                             arg_2,…,

                             arg_n])

Arguments

Name

Description

 

TextEditor_name

The variable name of the curve.

 

"TextEditor_label"

The descriptive label of the curve.

 

TextEditor_def

The TextEditor definition to be used.

 

arg_1,

arg_2, …,

arg_n

User-defined optional arguments.

Example

*DefineReport(repdef_sdf_test, dat_file)

 *ReportLabel("SDF Test Summary")

 *Parameter(dat_file, "Wheel datafile name",

                filename, "*.dat")

 *Parameter(scale_factor, "Scale factor", integer)

 *Page(page_text_sum, "SDF Text Summary",

           pagedef_text_sum, dat_file)

*EndDefine()

 

*DefinePage(pagedef_text_sum, dat_file)

 *Layout(1)

 *TextEditor(text_sum, "Table", txtdef_text_sum,

                 dat_file)

*EndDefine()

 

*DefineTextEditor(txtdef_text_sum, dat_file)

 *FileName("sdf_sum.tpl")

 *SetString(temp_var1, dat_file)

 *SetReal(temp_var2, scale_factor)

*EndDefine()        

Application

TextView.

Context

*DefinePage()

See also

 

List of Report Statements