Skip to content

Replies

0
Duane
Duane answered on Jan 8, 2009 4:23 PM

 I found the proper code:

me.ultratoolbarsmanager.ribbon.tabitemtoolbar.tools("Delete").sharedprops.enabled = false 

 

0
Duane
Duane answered on Jan 5, 2009 10:58 PM

 I am doing a similar thing in VB and I cannot get the code from tonydavid to work.

When the app runs and the child form tools merge into the MDI Parent, are the tools still part of the Child ToolsBarManager or are they part of the Parent ToolsBarManager?

I am putting the code in the child form like this:

 Me.UTM_TCM.Ribbon.ToolbarsManager.Toolbars[0].Tools("Delete").control.Enabled = False

But "Control" is not a valid property of Tools.  I am using 2008 vol 1.

What am I doing wrong?