"Bjørn Brox" <bp****@gmail.comwrote in message
news:48********@news.broadpark.no...
tshad skrev:
>I have an executable that has a button that I want to change the name of
to "Now Processing...".
When the process is done, I want to change it back.
The problem is that the form is not showing the new name. I assume I
would need to flush it somehow to get the display to show.
The code is:
ProcessFiles.Name = "Now Processing...";
Transform.XlateCSVToSQL();
ProcessFiles.Name = "Process Files";
It's not the Name you want to change, but the Text
You're right.
But when I changed it to the following, it still didn't work.
ProcessFiles.Text = "Now Processing...";
Transform.XlateCSVToSQL();
ProcessFiles.Text = "Process Files";
I know it is changing the text because if I comment the 3rd line where it
puts the text back - it is now set to "Now Processing..."
Thanks,
Tom
--
Bjørn Brox