Skip to content

Commit 632ff03

Browse files
author
César Cardoso
committed
feature/novas-bpl-para-versoes
1 parent 0789e87 commit 632ff03

7 files changed

Lines changed: 4 additions & 1 deletion

File tree

82.7 KB
Binary file not shown.
81.9 KB
Binary file not shown.
84.6 KB
Binary file not shown.
84.8 KB
Binary file not shown.
90.1 KB
Binary file not shown.
5.91 MB
Binary file not shown.

Src/Utils/C4D.Wizard.Utils.pas

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,14 +465,16 @@ class function TC4DWizardUtils.SelectFile(const ADefaultFile: string; const ADef
465465
end;
466466
end;
467467

468+
//FOR VERSIONS PRIOR TO DELPHI
469+
{$WARN SYMBOL_PLATFORM OFF}
468470
class function TC4DWizardUtils.SelectFolder(const ADefaultFolder: string; const ADefaultFolderIfCancel: Boolean = True): string;
469471
var
470472
LFileOpenDialog: TFileOpenDialog;
471473
begin
472474
Result := '';
473475
LFileOpenDialog := TFileOpenDialog.Create(nil);
474476
try
475-
LFileOpenDialog.Title := 'C4D - Select a folder';
477+
LFileOpenDialog.Title := 'Code4D-Wizard - Select a folder';
476478
LFileOpenDialog.Options := [fdoPickFolders];
477479

478480
if(not ADefaultFolder.Trim.IsEmpty)and(System.SysUtils.DirectoryExists(ADefaultFolder))then
@@ -490,6 +492,7 @@ class function TC4DWizardUtils.SelectFolder(const ADefaultFolder: string; const
490492
LFileOpenDialog.Free;
491493
end;
492494
end;
495+
{$WARN SYMBOL_PLATFORM ON}
493496

494497
class function TC4DWizardUtils.stringToColorDef(AValue: string; AColorDefault: TColor = clBlack): TColor;
495498
begin

0 commit comments

Comments
 (0)