I frequently find that I need the names of built-in controls e.g. WizardForm.StatusLabel. Is there a definitive reference to all the built-in control names somewhere, and if not, how do you go about finding these? As a worked example, how would I find the name of the control that shows the filename that is being extracted on the WizardForm.InstallingPage i.e. the label underneath the WizardForm.StatusLabel?
The only public documentation is TWizardForm reference. It lists names of all controls. But in a rather random order.
I find it way easier to check Setup.WizardForm.dfm in Inno Setup source code repository. It defines the controls in their hierarchy. So if you search for InstallingPage, you will find that there are these controls:
object FInstallingPage: TNewNotebookPage
object FFilenameLabel: TNewStaticText
...
end
object FStatusLabel: TNewStaticText
...
end
object FProgressGauge: TNewProgressBar
...
end
end
For a use in Pascal Script, drop the F prefix (e.g. instead of FFilenameLabel, use FilenameLabel).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With