Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Vcl.Dialogs.TFileDialogOption: Was bewirkt fdoDefaultNoMiniMode (https://www.delphipraxis.net/182999-vcl-dialogs-tfiledialogoption-bewirkt-fdodefaultnominimode.html)

Der schöne Günther 3. Dez 2014 11:08

Vcl.Dialogs.TFileDialogOption: Was bewirkt fdoDefaultNoMiniMode
 
Bei einem
Delphi-Quellcode:
TFileOpenDialog
kann man ja unter
Delphi-Quellcode:
Options
eine Menge Dinge einstellen.


Die Hilfe spricht zum Flag
Delphi-Quellcode:
fdoDefaultNoMiniMode
:
Zitat:

Speichern-Dialogfeld in erweitertem Modus öffnen, in dem Benutzer Ordner suchen können. Der erweiterte Modus wird gesetzt und wieder aufgehoben, indem auf die Schaltfläche in der linken, unteren Ecke eines Speichern-Dialogfeldes geklickt wird.
Was für eine Schaltfläche links unten? Ich kann keine Änderungen feststellen. Was soll das Flag bewirken? Funktioniert es nur in Kombination mit einem anderen?

In der Vcl.Dialogs.pas finde ich auch keine Erhellung...

Beispiel:
Delphi-Quellcode:
const
   dialogOptions: TFileDialogOptions = [
      TFileDialogOption.fdoPickFolders,
      TFileDialogOption.fdoDefaultNoMiniMode
   ];      
var
   fileOpenDialog: TFileOpenDialog;
   targetDirectory: String;
begin
   fileOpenDialog := TFileOpenDialog.Create(self);
   fileOpenDialog.Options := dialogOptions;
   if fileOpenDialog.Execute() then
      targetDirectory := fileOpenDialog.FileName;
end;

himitsu 3. Dez 2014 11:14

AW: Vcl.Dialogs.TFileDialogOption: Was bewirkt fdoDefaultNoMiniMode
 
* Delphi, Notepad oder Firefox
* Speichern unter
* unten links der "Ordner ausblenden"-Knopf

Bernhard Geyer 3. Dez 2014 11:16

AW: Vcl.Dialogs.TFileDialogOption: Was bewirkt fdoDefaultNoMiniMode
 
Frag Microsoft was die Option bewirken soll: http://msdn.microsoft.com/en-us/sync...=vs.71%29.aspx


Zitat:

FOS_DEFAULTNOMINIMODE
Indicates to the Save As dialog box that it should open in expanded mode. Expanded mode is the mode that is set and unset by clicking the button in the lower-left corner of the Save As dialog box that switches between Browse Folders and Hide Folders when clicked. This value is not supported as of Windows 7.

Der schöne Günther 3. Dez 2014 11:27

AW: Vcl.Dialogs.TFileDialogOption: Was bewirkt fdoDefaultNoMiniMode
 
Das sehe ich ein. Aber sehr ihr einen Unterschied?

Delphi-Quellcode:
with TFileSaveDialog.Create(nil) do
   try
      Options := [fdoDefaultNoMiniMode];
      Execute();
      Options := [];
      Execute();
   finally
      Free;
   end;
Ich sehe überhaupt keinen Unterschied, der Mini-Mode ist IMMER da.

jbg 3. Dez 2014 11:31

AW: Vcl.Dialogs.TFileDialogOption: Was bewirkt fdoDefaultNoMiniMode
 
Zitat:

Zitat von Der schöne Günther (Beitrag 1282092)
Das sehe ich ein. Aber sehr ihr einen Unterschied?

Hast du Windows Vista? Wenn nein, dann hat das Flag keine Bedeutung mehr. "This value is not supported as of Windows 7"

Der schöne Günther 3. Dez 2014 11:54

AW: Vcl.Dialogs.TFileDialogOption: Was bewirkt fdoDefaultNoMiniMode
 
Ich hätte mein Gegenüber ernst nehmen sollen und die verlinkte MS-Doku aufmerksam lesen sollen. Nein, ist kein Vista. Dementsprechend auch keine Auswirkungen. :oops:


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:52 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz