mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
Merged revision(s) 49187 #a14e21882c from trunk:
Win32: handle ofDontAddToRecent option in TOpen/SaveDialog (Issue #0027682). ........ git-svn-id: branches/fixes_1_4@49195 -
This commit is contained in:
parent
c2fbec5d82
commit
9566e8e958
@ -599,6 +599,7 @@ function CreateFileDialogHandle(AOpenDialog: TOpenDialog): THandle;
|
||||
if ofReadOnly in Options then Result := Result or OFN_READONLY;
|
||||
if ofShareAware in Options then Result := Result or OFN_SHAREAWARE;
|
||||
if ofShowHelp in Options then Result := Result or OFN_SHOWHELP;
|
||||
if ofDontAddToRecent in Options then Result := Result or OFN_DONTADDTORECENT;
|
||||
end;
|
||||
|
||||
procedure ReplacePipe(var AFilter:string);
|
||||
@ -794,6 +795,7 @@ FOS_FORCEPREVIEWPANEON}
|
||||
if ofOverwritePrompt in Options then Result := Result or FOS_OVERWRITEPROMPT;
|
||||
if ofPathMustExist in Options then Result := Result or FOS_PATHMUSTEXIST;
|
||||
if ofShareAware in Options then Result := Result or FOS_SHAREAWARE;
|
||||
if ofDontAddToRecent in Options then Result := Result or FOS_DONTADDTORECENT;
|
||||
{ unavailable options:
|
||||
ofHideReadOnly
|
||||
ofEnableSizing
|
||||
|
Loading…
Reference in New Issue
Block a user