AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

TOpenDialog.Options Hilfe zu den Optionen

Ein Thema von cltom · begonnen am 13. Nov 2007 · letzter Beitrag vom 13. Nov 2007
Antwort Antwort
cltom

Registriert seit: 22. Sep 2005
221 Beiträge
 
Delphi 12 Athens
 
#1

TOpenDialog.Options Hilfe zu den Optionen

  Alt 13. Nov 2007, 12:32
Hallo,

habe nach einer Hilfe zu den diversen Optionen des TSaveDialogs gesucht. In der online-Hilfe steht zu den optionen aber nur lapidar

Description
Use the Options property to customize the appearance and functionality of the dialog.

Das reicht mir nicht, um zu wissen, was nun etwa "ofNoTestFileCreate" heisst. Gibt es da irgendwo mehr Beschreibung?

dank und gruß
tom
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: TOpenDialog.Options Hilfe zu den Optionen

  Alt 13. Nov 2007, 12:34
Welche Delphi-Version? Meine Hilfe unter D6 ist mehr als umfangreich.
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
cltom

Registriert seit: 22. Sep 2005
221 Beiträge
 
Delphi 12 Athens
 
#3

Re: TOpenDialog.Options Hilfe zu den Optionen

  Alt 13. Nov 2007, 12:35
Turbo2006
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#4

Re: TOpenDialog.Options Hilfe zu den Optionen

  Alt 13. Nov 2007, 12:36
Zitat von cltom:
Turbo2006
Hättest Du noch ein ältere Delphi-Version. Ab Delphi 8 musste Borland/Codegear wegen dem neuen Hilfeformat wieder anfangen diese neu aufzubauen.
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
cltom

Registriert seit: 22. Sep 2005
221 Beiträge
 
Delphi 12 Athens
 
#5

Re: TOpenDialog.Options Hilfe zu den Optionen

  Alt 13. Nov 2007, 12:38
hmm, eigentlich nein. gibt's da nix offizielles dazu im Netz?
  Mit Zitat antworten Zitat
Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#6

Re: TOpenDialog.Options Hilfe zu den Optionen

  Alt 13. Nov 2007, 12:39
Code:
Determines the appearance and behavior of the file-selection dialog.

type
TOpenOption = (ofReadOnly, ofOverwritePrompt, ofHideReadOnly, ofNoChangeDir, ofShowHelp, ofNoValidate, ofAllowMultiSelect, ofExtensionDifferent, ofPathMustExist, ofFileMustExist, ofCreatePrompt, ofShareAware, ofNoReadOnlyReturn, ofNoTestFileCreate, ofNoNetworkButton, ofNoLongNames, ofOldStyleDialog, ofNoDereferenceLinks, ofEnableIncludeNotify, ofEnableSizing, ofDontAddToRecent, ofForceShowHidden);
TOpenOptions = set of TOpenOption;
property Options: TOpenOptions;

Description

Use the Options property to customize the appearance and functionality of the dialog. The possible values of Options are

Value   Meaning

ofReadOnly   Selects the Open As Read Only check box by default when the dialog opens.
ofOverwritePrompt   Generates a warning message if the user tries to select a file name that is already in use, asking whether to overwrite the existing file. (Use with TSaveDialog and TSavePictureDialog.)
ofHideReadOnly   Removes the Open As Read Only check box from the dialog.
ofNoChangeDir   After the user clicks OK, resets the current directory to whatever it was before the file-selection dialog opened.

ofShowHelp   Displays a Help button in the dialog.
ofNoValidate   Disables checking for invalid characters in file names. Allows selection of file names with invalid characters.
ofAllowMultiSelect   Allows users to select more than one file in the dialog.
ofExtensionDifferent   This flag is turned on at runtime whenever the selected filename has an extension that differs from DefaultExt. If you use this flag in an application, remember to reset it.
ofPathMustExist   Generates an error message if the user tries to select a file name with a nonexistent directory path.

ofFileMustExist   Generates an error message if the user tries to select a nonexistent file. (only applies to Open dialogs).
ofCreatePrompt   Generates a warning message if the user tries to select a nonexistent file, asking whether to create a new file with the specified name.
ofShareAware   Ignores sharing errors and allows files to be selected even when sharing violations occur.
ofNoReadOnlyReturn   Generates an error message if the user tries to select a read-only file.

ofNoTestFileCreate   Disables checking for network file protection and inaccessibility of disk drives. Applies only when the user tries to save a file in a create-no-modify shared network directory.
ofNoNetworkButton   Removes the Network button (which opens a Map Network Drive dialog) from the file-selection dialog. Applies only if the ofOldStyleDialog flag is on.
ofNoLongNames   Displays 8.3-character file names only. This option is only valid if Options also includes ofOldStyleDialog.

ofOldStyleDialog   Creates the older style of file-selection dialog.
ofNoDereferenceLinks   Disables dereferencing of Windows shortcuts. If the user selects a shortcut, assigns to FileName the path and file name of the shortcut itself (the .LNK file), rather than the file linked to the shortcut.
ofEnableIncludeNotify   (Windows 2000 and later.) Sends CDN_INCLUDEITEM notification messages to the dialog when the user opens a folder. A notification is sent for each item in the newly opened folder. You can use these messages to control which items appear in the folder’s item list.

ofEnableSizing   (Windows 98 and later) Lets the Explorer-style dialog be resized with the mouse or keyboard. By default, the dialog allows this resizing regardless of the value of this option. It is only required if you provide a hook procedure or custom template. (Old style dialogs never permit resizing.)
ofDontAddToRecent   Prevents the file from being added to the list of recently opened files.
ofShowHidden   Ensures that hidden files are visible in the dialog.
Klaus
  Mit Zitat antworten Zitat
cltom

Registriert seit: 22. Sep 2005
221 Beiträge
 
Delphi 12 Athens
 
#7

Re: TOpenDialog.Options Hilfe zu den Optionen

  Alt 13. Nov 2007, 12:42
danke!!
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:41 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