Flip Toolbar to Right to Left.
Posted: Thu Oct 30, 2008 5:27 am
link->http://s469.photobucket.com/albums/rr53 ... ol_Bar.jpg
I need to rearrange the icons as shown,can this be done? Any code snippets to do it?
I have code like
#region ToolBar
//Do this operation once when running the program
StiConfig.Load();
//Get service
var config =
StiConfig.Services.GetService(typeof(StiViewerConfigService)) as StiViewerConfigService;
//Turn off all buttons of changes of the rendered report
// config.PageNewEnabled = false;
if (config != null) {
config.CloseEnabled = false;
config.ToolEditorActive = false;
config.ToolEditorEnabled = false;
config.PageDesignEnabled = false;
config.PageDeleteEnabled = false;
config.PageNewEnabled = false;
config.PageSizeEnabled = false;
config.OpenEnabled = false;
config.SaveEnabled = true;
}
//Save configuration if necessary
StiConfig.Save();
#endregion
Can I add something ?
Thanks in advance.
Also do you have a (\Bin\Localization) ar.xml? (arabic)
I need to rearrange the icons as shown,can this be done? Any code snippets to do it?
I have code like
#region ToolBar
//Do this operation once when running the program
StiConfig.Load();
//Get service
var config =
StiConfig.Services.GetService(typeof(StiViewerConfigService)) as StiViewerConfigService;
//Turn off all buttons of changes of the rendered report
// config.PageNewEnabled = false;
if (config != null) {
config.CloseEnabled = false;
config.ToolEditorActive = false;
config.ToolEditorEnabled = false;
config.PageDesignEnabled = false;
config.PageDeleteEnabled = false;
config.PageNewEnabled = false;
config.PageSizeEnabled = false;
config.OpenEnabled = false;
config.SaveEnabled = true;
}
//Save configuration if necessary
StiConfig.Save();
#endregion
Can I add something ?
Thanks in advance.
Also do you have a (\Bin\Localization) ar.xml? (arabic)