RAD Studio VCL Reference
|
Displays the Save As dialog box.
function Execute(ParentWnd: HWND): Boolean; override;
virtual __fastcall Boolean Execute(HWND ParentWnd);
Execute opens the Save As dialog, returning true when the user selects a file name and clicks Save. If the user cancels the save operation, Execute returns a false value.
if SaveDialog1.Execute then Memo1.Lines.SaveToFile(SaveDialog1.FileName);
if (SaveDialog1->Execute()) Memo1->Lines->SaveToFile(SaveDialog1->FileName);
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|