> You can change it by using mr_yesall instead of mr_all.

Ha ok, so, in msewidgets.pas --->

function confirmsavechangedfile(const filename: filenamety;
         out modalresult: modalresultty; multiple: boolean = false):
boolean;
begin
 with stockobjects do begin
  if multiple then begin
   modalresult:= showmessage(captions[sc_file]+' '+filename+' '+
                  captions[sc_is_modified_save],captions[sc_confirmation],
                   [mr_yes,mr_yesall,mr_no,mr_noall,mr_cancel],mr_yes);
  end
  else begin
   modalresult:= showmessage(captions[sc_file]+' '+filename+' '+
                  captions[sc_is_modified_save],captions[sc_confirmation],
                   [mr_yes,mr_no,mr_cancel],mr_yes);
  end;
 end;
{
 if multiple then begin
  modalresult:= showmessage('File '+filename+' is modified.
Save?','Confirmation',
                  [mr_yes,mr_yesall,mr_no,mr_noall,mr_cancel],mr_yes);
 end
 else begin
  modalresult:= showmessage('File '+filename+' is modified.
Save?','Confirmation',
                  [mr_yes,mr_no,mr_cancel],mr_yes);
 end;
}
 if modalresult = mr_windowclosed then begin
  modalresult:= mr_cancel;
 end;
 result:= modalresult in [mr_yes,mr_yesall];
end;

...

Included updated msewidgets.pas.
msewidgets.gz
<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msewidgets.gz>  

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to