Page 1 of 1

Hide or uncheck "Create label"

Posted: Wed Oct 31, 2007 4:10 am
by Fabio Pagano
Recently you've added in designer the "Create label" checkbox. Is it possibile to hide it or to make it default to unchecked (from code)?

Thanks.

Hide or uncheck "Create label"

Posted: Wed Oct 31, 2007 1:53 pm
by Vital
You can use following code to hide checkbox:

Code: Select all

StiDictionaryPanelService service = StiDictionaryPanelService.GetService();
service.ShowCreateLabel = false;
Code to set state of checkbox to false:

Code: Select all

StiSettings.Load();
					StiSettings.Set("StiDesigner", "CreateLabel", false);			
					StiSettings.Save();
Thank you.