Inno Setup documentation says that TInputOptionWizardPage
have a CheckListBox
property.
CheckListBox
is of type TNewCheckListBox
which has a property RequireRadioSelection
Thus, I was expecting this code to build:
procedure InitializeWizard;
var
Page: TInputOptionWizardPage;
begin
Page := CreateInputOptionPage(wpWelcome, '', '', '', True, False);
Page.Add('Option 1');
Page.Add('Option 2');
Page.CheckListBox.RequireRadioSelection := True;
end;
It does not, compiler says that RequireRadioSelection is an Unknown identifier.
All other properties I've tried like Page.WantTabs := True;
are compiling.
Did I misunderstood something or could that be a bug?
Contrary to the documentation, the property was not exposed to Pascal Script.
This has been fixed in Inno Setup 5.6: https://github.com/jrsoftware/issrc/commit/1152ce6d163bbc0f8292d75b681668e3343d01a9