#8740

Yutaka Emura
Keymaster

Hi Maria,

To enable or disable the Tabs, you can use the EnableTab property of Editor object.


editor.EnableTab = true;

To find if OpenDocuments.dll is checked, please use the following code:


function IsPluginChecked( sPluginName )
{
for( nID = 5632; nID <= 5632 + 255; nID++ ){
str = editor.QueryStringbyID( nID );
if( str == sPluginName ){
nStatus = editor.QueryStatusByID( nID );
if( nStatus & eeStatusLatched ) {
return true;
}
break;
}
}
return false;
}

alert( IsPluginChecked( "OpenDocuments.dll" ) );

Please let me know if you have further questions. Thanks!