For example:
- Panel
- Label
- Radio
- Radio
- Radio
- Panel
- Label
- Radio
- Radio
- Label
- Combo
- Label
- Label
- Text
- Button
Does the Values
array match all of the controls on the page, or only the radio, combo, text controls?
For example:
Does the Values
array match all of the controls on the page, or only the radio, combo, text controls?
The generic custom page has no Values
property.
Only special implementations of a custom page do. And their meaning differs with the implementation.
CreateInputQueryPage
/TInputQueryWizardPage
– Values
refers to text value of edit boxes added by TInputQueryWizardPage.Add
.
CreateInputOptionPage
/TInputOptionWizardPage
– Values
refers to state of checkboxes/radiobuttons added by TInputOptionWizardPage.Add
.
CreateInputDirPage
/TInputDirWizardPage
– Values
refers to text value of edit boxes added by TInputDirWizardPage.Add
.
CreateInputFilePage
/TInputFileWizardPage
– Values
refers to text value of edit boxes added by TInputFileWizardPage.Add
.
If you want to refer to a value of a custom control added to a generic custom page, use the instance of the control. There's no (nice) way to refer to the control value via the container page.
TNewEdit.Text
– See Inno Setup Edit installed file according to user preferencesTNewCheckBox.Checked
– See Inno Setup: How to show (hide/unhide) password on checkbox checkedTNewRadioButton.Checked
– See Replacing Inno Setup installation type combo box with radio buttons on separate page (Install Shield like) or How to create two LicenseFile pages in Inno SetupTNewCheckListBox.Checked
– See How to split tasklist at tasks page of Inno Setup into multiple columns?That usually means that instances of controls you want to query later has to be global variables. See Reading values from custom Inno Setup wizard pages without using global variables or Inno Setup: Access to custom control from OnClick event of another control.