Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Something = "Text ", Variable; 1

Status
Not open for further replies.

GirishGupta

Programmer
May 28, 2001
30
GB
Hi,

How do you do the following:

WideString url = String(Edit1->Text);
StatusBar->Panels->Items[0]->Text = "Loading ", url;

There is something in Edit1 but it isn't printing (to StatusBar Panel 0) the url part. It just prints 'Loading '.

However, if I remove the '"Loading", ' part of the code it prints the URL fine.

Why not both?
 
Instead of writing
StatusBar->Panels->Items[0]->Text = "Loading ", url;
write
StatusBar->Panels->Items[0]->Text = "Loading " + Edit1->Text;

My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top