AD
Administrator
Syncfusion Team
October 7, 2004 06:27 PM UTC
Hi Trevor
You could do what you are seeking by modifying the SettingFile property of the Edit Control. For example in the EmbeddedIniFile sample that ships with Essential Edit you could use the following code snippet:
if (this.editControl1.SettingFile=="")
{
this.editControl1.SettingFile= "..//..//HelloWorldLanguage.ini";
}
else this.editControl1.SettingFile="";
to toggle between the EditControl displaying KeyWords in colors specified and in plain text mode.
Regards
Arun