Dictionary context menu: hide a context menu item only in "Data sources" and not "Var

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Dictionary context menu: hide a context menu item only in "Data sources" and not "Var

Post by Fabio Pagano »

I need to hide the item "Properties" in "Dictionary / Data sources" context menu, but unfortunately it disappears from "Dictionary / Variables" context menu too (in "Variables" context menu i want to make it appear).

To be clearer, if i right click on on a database field i don't want to see the "Properties" item:

Image

If i right click on a variable field i want to see the "Properties" item:

Image

(I am talking about the "Properties" item as an example, but i need to do this on other items).

Alternatively, to me would be ok to completely disable the "Data sources" context menu and leave the "Variables" context menu.

Thanks.
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Dictionary context menu: hide a context menu item only in "Data sources" and not "Var

Post by Fabio Pagano »

Sorry, i said:

"Alternatively, to me would be ok to completely disable the "Data sources" context menu and leave the "Variables" context menu"

but is not possible because i need "View data" context menu in "Data sources".
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Dictionary context menu: hide a context menu item only in "Data sources" and not "Var

Post by Edward »

Sorry we do not see any simple solution of this task.

We need time to provide a solution.

We will inform you in this topic when only one "Property" context menu item may be hidden.

Thank you.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Dictionary context menu: hide a context menu item only in "Data sources" and not "Var

Post by Vital »

We have added following properties to StiDictionarypanelService:

Code: Select all

ShowPropertiesForVariable
ShowPropertiesForDataSource
ShowPropertiesForDataRelation
ShowPropertiesForDataColumn 
ShowPropertiesForDataParameter
Thank you.
Post Reply