henryreynolds
asked on
Delphi Multiple Line Form Caption
Good day,
Is it possible to add a multiple line caption to my form.
I tried to use Ā : form1.Caption := 'Top line'+#13#10+'Bottom Line';
But it does not work.
Can you also center text exactly on a form caption e.g. I need text on my left and exaclty in the middle some other text, and on my right some text.
Thanx
Henry
Is it possible to add a multiple line caption to my form.
I tried to use Ā : form1.Caption := 'Top line'+#13#10+'Bottom Line';
But it does not work.
Can you also center text exactly on a form caption e.g. I need text on my left and exaclty in the middle some other text, and on my right some text.
Thanx
Henry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi sun4sunday , atul_parmar
Thank you both for your reply, but I must give the points to atul_parmar, because it work's 100% for me.
Enjoy your day
Henry
Thank you both for your reply, but I must give the points to atul_parmar, because it work's 100% for me.
Enjoy your day
Henry
Thanks Atul for the info and Henry for asking this question. This getting update my delphi knowledge
sun4sunday
sun4sunday
>>Can you also center text exactly on a form caption
Do you mean to center the caption of the from in the middle. That can be done at runtime.
First take the width of the text, take almost half of its width then put spaces beofre the caption of the form. It will come almost the middle.
sun4sunday