窗体没有创建 Assigned 返回值为什么还是真呢 procedure TFrmCustomize.Zoom_BtnClick(Sender: TObject);
var
CZoomView: TFrmZoomView;
begin
if Not Assigned(CZoomView) then
begin
CZoomView := TFrmZoomView.Create(Self); //创建
CZoomView.Show;
end;
end;
CZoomView 窗体并没有创建为什么这段代码就是不执行呢。Assigned是不是不能用在模态窗体上
var
CZoomView: TFrmZoomView;
begin
if Not Assigned(CZoomView) then
begin
CZoomView := TFrmZoomView.Create(Self); //创建
CZoomView.Show;
end;
end;
CZoomView 窗体并没有创建为什么这段代码就是不执行呢。Assigned是不是不能用在模态窗体上
找不到在create