日期:2014-05-20  浏览次数:20658 次

求答案
if edit1.Text:='1'then
     form2 show ;
end;

错在哪
为什么提示错误是 type of expression must be  boolean
------解决方案--------------------
if edit1.Text:='1'then
改成
if edit1.Text='1'then
:=是赋值,判断直接一个=号就可以了