Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1475
Refresh the caption of the tool
posted

Hi

I have a tool on ultratoolbarsmanager whose caption should be changed in timely manner.

I wrote a private function which sets the caption as shown below:

Private Sub setToolbarcaption()

 toolbar.Tools.Item("Mail").SharedProps.Caption = iCount & " Messages"

 End Sub

But calling this function is not changing the caption. Is there any othere property that I have to set to refresh the toolbar with the new caption.

 Thanks in advance.

Parents
No Data
Reply
  • 44743
    posted

    If the tool has a caption set only on it's instance, the SharedProps.Caption will be ignored by the tool and you will instead have to set the InstanceProps.Caption. If not, it could be a bug and I would recommend submitting the issue to the support group: http://ko.infragistics.com/gethelp.

Children