UnicodeEnabled (Property)

Action:

Application object

Description:

This property is set to true in Unicode enabled applications.

Example:

This example shows how to read and show the value of the UnicodeEnabled (Property):

//Clear all TextBoxes except TextBox5
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ActiveSection.Name
var ActionName = "UnicodeEnabled"
TextBox1.Text ="Start " + ActionName 
if (TextBox5.Text == "")
{ 
TextBox1.Text ="Step 1" 
try
{
TextBox3.Text =  "UnicodeEnabled is: " + Application.UnicodeEnabled
}
catch(e)
{
TextBox2.Text = "Caught: " + e.toString()
}

}

else
{ 
TextBox1.Text ="Step 2" 
try
{
Application.UnicodeEnabled = eval(TextBox5.Text)
}
catch(e)
{
TextBox2.Text = "Caught: " + e.toString()
}
TextBox1.Text ="Step 3" 
try
{
TextBox3.Text =  "UnicodeEnabled is: " + Application.UnicodeEnabled
}
catch(e)
{
TextBox2.Text = "Caught: " + e.toString()
}
}
TextBox1.Text ="End " + ActionName