How do I refresh text on button on toolbar?

  • Thread starter Thread starter nsteele84
  • Start date Start date
N

nsteele84

HI

I need to change the text property of a button on a toolbar at
runtime. The text property is changing but it is not displaying the
new text on the button. I tried toolbar.refresh but this made no
difference. Is there a way to refresh a button so the new text will
show?

Thanks

Nick Steele
 
Hi Nick,

This should work. You can change any text propery from any control on
runtime and it has to be showed, show a little piece of your code where you
do it.

Cor
 
Hi
I was just playing around getting you a snippet of code when I managed
to get it to work. It seems that I have to have some text in there
originally before I can change it. I was starting with a blank button
and adding text to it this didnt work. If I started with a button with
text on it , it would change.

Thanks for your help

Nick
 
Back
Top