Page 1 of 1

Turn off Dictionary Use Aliases

Posted: Thu Nov 26, 2009 2:34 am
by lcruiser
Hi,

Is it possible to turn off Dictionary Use Aliases by code? If yes, how?

Thanks.

Turn off Dictionary Use Aliases

Posted: Thu Nov 26, 2009 4:15 am
by Edward
Hi,

There is a property for the StiDesignerControl:

UseAlias

By setting this property in false you disable aliases in the Dictionary.

In a very beginning of your program you can write the following code:

Code: Select all

       StiSettings.Load();
        StiSettings.Set("StiDesigner", "UseAliases", false);
        StiSettings.Save();

Thank you.

Turn off Dictionary Use Aliases

Posted: Thu Nov 26, 2009 4:39 am
by lcruiser
It works perfectly.

Thanks for your help and a fast response.

Turn off Dictionary Use Aliases

Posted: Thu Nov 26, 2009 10:03 am
by Edward
Hi

You are welcome, please let us know if you need any help.

Thank you.