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?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.