任何人都可以帮助我保护选择组或组件。
举些例子
If ('Readme.txt').selected or ('compact').selected = True then
begin "Password wizard page";
else
result := true;
end;
Run Code Online (Sandbox Code Playgroud)
这个工作脚本与此类似:P
function CheckPassword(Password: String): Boolean;
begin
result := false;
if (Password='component') or (Password='type') then
result := true;
end;
Run Code Online (Sandbox Code Playgroud)