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.