forms - Delphi 7 - Form1.Caption to display 2 different strings -


my program when downloads files uses 2 labels describe procedure. 1 label displays ''downloading'' , other label displays name of file.

private      mtemp : string;      stemp : string;      procedure gfilesthread.updatestatuslabel;       begin           form1.label1.caption:=mtemp;           form1.label2.caption:=stemp;       end; 

i need form1.caption display both. example: 'downloading file1.txt'. how do that?

form1.caption:= mtemp, '+', stemp; 

or?

concatenate strings +

form1.caption := mtemp + stemp; 

Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -