-
7 votesanswersviews
在Delphi 10.1 Berlin中使用VCL样式时,TSaveDialog的属性“ofOverwritePrompt”不起作用
创建一个新的VCL Forms应用程序 在主窗体上添加Tbutton和TSaveDialog 在SaveDialog1的属性中将“ofOverwritePrompt”设置为True 使用: procedure TForm1.Button1Click(Sender: TObject); begin SaveDialog1.Execute(); end; 运行应用程序 ....