"autoFormatting"

The attribute sets the format of a TextEdit to either of the following:

  • AutoNone

  • AutoBulletList

  • AutoAll

Synopsis

setValue(string shape, "autoFormatting", string s);

getValue(string shape, "autoFormatting", string s);

shape.autoFormatting(string s);

Parameters

Parameter Description
shape Name of the object
s

"AutoNone": Do not perform any automatic formatting.

"AutoBulletList ": Only automatically format bulletted lists.

"AutoAll ": Apply all available autoformatting.

Description

The attribute sets the format of a TextEdit to either of the following:

  • AutoNone

  • AutoBulletList

  • AutoAll.

Example

In this example, the format is set to "AutoBulletList " (only automatically format bulletted lists).

main()

{

string al = "AutoBulletList";

string rv;

string oj = "TEXT_EDIT1";

this.autoFormatting(al);

getValue(oj,"autoFormatting",rv);

DebugN(rv);

}

Assignment

TextEdit

See also