F
feiyueniao
Unregistered / Unconfirmed
GUEST, unregistred user!
谢谢hbsxcjp,给我推荐本书好么?关于这方面的 我的却不清楚 网上有这方面的E-BOOK么?
还是不太明白1:前面加B_GV是什么意思?
2:下面那句话保证了他不会弹出两个同样的窗口?
来自:hbsxcjp, 时间:2004-5-26 18:18:08, ID:2629289
我觉得你应该找本书看看:
procedure TForm_Main.Menu_SoftSetClick(Sender: TObject);
begin
if B_GV_Form_SoftSet then //逻辑变量为假则已创建,尚未显示该窗口
begin
Form_SoftSet.show
//非模式显示
end
else
begin
application.CreateForm(tForm_SoftSet,Form_SoftSet)
//创建该种窗口
Form_SoftSet.show
//非模式显示
B_GV_Form_SoftSet:=true
//用逻辑变量记录已创建该窗口
end;
end
还是不太明白1:前面加B_GV是什么意思?
2:下面那句话保证了他不会弹出两个同样的窗口?
来自:hbsxcjp, 时间:2004-5-26 18:18:08, ID:2629289
我觉得你应该找本书看看:
procedure TForm_Main.Menu_SoftSetClick(Sender: TObject);
begin
if B_GV_Form_SoftSet then //逻辑变量为假则已创建,尚未显示该窗口
begin
Form_SoftSet.show
//非模式显示
end
else
begin
application.CreateForm(tForm_SoftSet,Form_SoftSet)
//创建该种窗口
Form_SoftSet.show
//非模式显示
B_GV_Form_SoftSet:=true
//用逻辑变量记录已创建该窗口
end;
end