Hi all,
Why i am here and posting:I'm using InnoSetup installer (freeware) which uses Pascal Scripting and want to figure out how to make such a caption, which is like a single TLabel.Caption, but in the middle of the caption some words are bolded?
Here is an examples:
IMGa:
http://i.stack.imgur.com/yOrA3.jpgIMGb:
http://i.stack.imgur.com/tbMQA.jpgAnother live sample by Russian one:
http://rghost.ru/private/36189161/541107f2df4095ec70e04e2b0e4616fd
No helpfull results from the whole 'net searched and from where have been asked.
I want
Variable1 to be normal and
VariablePath Bolded,
This is a sample TLabel code, how it's works in InnoSetup Code:
WelcomeLabel1:= TLabel.Create(WizardForm);
with WelcomeLabel1 do begin
Parent:=WizardForm;
AutoSize:=False;
Transparent:=True;
WordWrap:=True;
SetBounds(ScaleX(155), ScaleY(110), ScaleX(318), ScaleY(35));
Font.Name:= 'Arial Bold';
Font.Size:= 10;
Font.Color:=$967d1d;
Font.Style:=[fsBold];
Alignment := taCenter;
Caption:=[b]Variable1+' '+VariablPath[/b];
end;
Please do not suggest using RTFViewer and another plugins, examples given above are simply coded within InnoSetup using Pascal Scripting without any 3rd party things.
Thanks