you don't really even need those if..then statements, just setting Result to the result values of the other functions will be fine:
SCAR Code:
function ValidateText(ValidType: Integer): Boolean;
begin //Result defaults at False, so there's no need to set it
case ValidType of
0: Result:= ValidateText1 and ValidateText2; //since doing "if (ValidateText1 and ValidateText2) then" is really saying "if((ValidateText1 and ValidateText2) = True) then", you might as well just set that True/False straight to Result, instead of calling a whole other line
1: Result:= ValidateText1; //see above
2: Result:= ValidateText2;
end;
end;