Hi Guys,
I couldn't work out displaying text with paragraphs plus line breaks on dialog windows.
procedure Form1_Button5_OnClick (Sender: string; var Cancel: boolean);
begin
MessageDlg('Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10,mtInformation,mbOK,0);
end;
The above displayed like this on dialog window:
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
I wanted add paragraph plus line break (space) like this:
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Unfortunatly, there is no known URL for this asset
Please ignore double spacing, I meant single line break.
---------------------------------------
edit:
It seems adding
''+#13#10+
where line space required doing the job. However, I have no idea currently what #13#10 stands for tho.
procedure Form1_Button5_OnClick (Sender: string; var Cancel: boolean);
begin
MessageDlg('Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
''+#13#10+ //Line space
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
''+#13#10+ //Line space
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10+
'Unfortunatly, there is no known URL for this asset.'+#13#10,mtInformation,mbOK,0);
end;
Adam
God... please help me become the person my dog thinks I am.