How comes this doesn't work now? _toolbar is my form's UltraToolBarsManager. _btnXXXXX are assigned to _toolbar.Tools("key")
_toolbar.BeginUpdate()
Me._btnEditar.SharedProps.Visible = False
Me._btnGuardar.SharedProps.Visible = True
Me._btnCancelar.SharedProps.Visible = True
Me._btnRecargar.SharedProps.Visible = False
_toolbar.EndUpdate()
The buttons I set to visible doesn't appear, and the ones I set visible to false doesn't dissappear... this worked fine with 2008.3 ... any change I should know?¿
asin,
When working with a particular instance of a tool, you should be setting the InstanceProps properties rather than the SharedProps properties, since the InstanceProps properties will override the SharedProps properties for that particular instance. I recommend changing your code to get a reference to the particular instance of the tools you are working with (either through a specific UltraToolbar's Tools collection or a RibbonGroup's Tools collection), and then setting the tool's InstanceProps.Visible property.
Hope this helps,
~Kim~