procedure TDoorMain.RadioButtonInsetClick(Sender: TObject);
begin
If RadioButtonInset.Checked = True and CboNumberOfDoors.items.indexof('1') then
begin
PanelSinInset.Visible := True;
end;
end.
The code is to allow the panel to visible if
a number in the combo is 1.
Please help. I get an error that the opertaor not applicable.
begin
If RadioButtonInset.Checked = True and CboNumberOfDoors.items.indexof('1') then
begin
PanelSinInset.Visible := True;
end;
end.
The code is to allow the panel to visible if
a number in the combo is 1.
Please help. I get an error that the opertaor not applicable.