2017-06-09 3 views
1

J'essaie de créer un TLabel et d'obtenir du texte à partir de FinishedLabel pour afficher la transparence sur le texte lors de l'affichage d'une image d'arrière-plan personnalisée sur la page Terminé.Obtention de texte à partir de FinishedLabel dans Inno Setup

Je fais la même chose avec FinishedHeadingLabel et fonctionne parfaitement, Mais il ne fonctionne pas avec FinishedLabel, voici le code:

BottomFinishedLabel := TLabel.Create(WizardForm); 
BottomFinishedLabel.Parent := WizardForm.FinishedLabel.Parent; 
BottomFinishedLabel.Font := WizardForm.FinishedLabel.Font; 
BottomFinishedLabel.Caption := WizardForm.FinishedLabel.Caption; 
BottomFinishedLabel.WordWrap := WizardForm.FinishedLabel.WordWrap; 
InheritBoundsRect(WizardForm.FinishedLabel, BottomFinishedLabel); 
WizardForm.FinishedLabel.Visible := False; 

Voici ce qu'il show:

enter image description here

Et c'est ce que j'essaie de faire (avec TLabel):
enter image description here

Répondre