if (Edit1.Text='')or(Edit2.Text='') then ... 转载于:https://www.cnblogs.com/Bubalus/archive/2011/03/01/2013716.html