Page 1 of 1

Remove Functionality

Posted: Mon Jan 23, 2012 12:23 pm
by LRCtil
I need to remove the option to add 'New Data Source'

when the User clicks the right button of the mouse in the Dictionary should not appear the New Data Source option.

What is the name of the property?

thank you!

Remove Functionality

Posted: Tue Jan 24, 2012 2:55 am
by HighAley
Hello.
LRCtil wrote:I need to remove the option to add 'New Data Source'

when the User clicks the right button of the mouse in the Dictionary should not appear the New Data Source option.

What is the name of the property?
You should set this static property:

Code: Select all

StiOptions.Designer.Panels.Dictionary.ShowDataSourceNewMenuItem = false;
Thank you.

Remove Functionality

Posted: Tue Jan 24, 2012 6:31 am
by LRCtil
This code don't work.

Maybe you have not understood.
I need to remove the item "New Data Source" that were selected in this image

With this code you went there was no change.

Remove Functionality

Posted: Wed Jan 25, 2012 4:40 am
by HighAley
Hello.
LRCtil wrote:This code don't work.

Maybe you have not understood.
I need to remove the item "New Data Source" that were selected in this image

With this code you went there was no change.
I understood your right. Please, look at an attached report.

Thank you.

Remove Functionality

Posted: Wed Jan 25, 2012 6:38 am
by LRCtil
The problem is that we do not do it this way.
The report should open in the same window, and not in another window.
Please, look at an attached report.

Thank you.

Remove Functionality

Posted: Wed Jan 25, 2012 9:46 am
by HighAley
Hello.

If you use StiDesignerControl you should set these properties before InitializeComponent() method.
Look at the attached project.

Thank you.

Remove Functionality

Posted: Wed Jan 25, 2012 11:40 am
by LRCtil
thank you very much person .. you do not know how I helped .. :biggrin:

Remove Functionality

Posted: Thu Jan 26, 2012 1:37 am
by Andrew
Hello.

We are always happy to help you.

Thank you.