0

Hello,
This is probably trivial, but I can't find a solution to the following problem.

In C++Builder 2007 I was able to write different strings both to the Application's Title and to the Main Form's Caption. In the Title I displayed the name of the Application; in the Caption (showing in the task bar button) I displayed the program's progress expressed as a percentage.

In C++Builder 2010 this code doesn't work anymore. The Form Caption text shows in both Application Title and task bar button caption.

When I have :

Application->Title = "prog name";

this doesn't change anything in the Application's Title.
When I have :

int a = 23;
Form1->Caption = "% " + AnsiString (a);

both the Application's Title and the button on the task bar show "% 23";

I have no idea how to find a way out of this problem. Can you help?

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Alex314
0

I read in another forum that indeed this isn't possible anymore, so the question is resolved.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.