Class TCastleOpenDialog

Unit

Declaration

type TCastleOpenDialog = class(TOpenDialog)

Description

General open dialog that uses URL. The URL is a file: or castle-data: URL.

Hierarchy

Overview

Methods

Protected function DoExecute: boolean; override;
Public constructor Create(AOwner: TComponent); override;

Properties

Published property URL: string read GetURL write SetURL stored false;
Published property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false;
Published property UseCastleDataProtocol: Boolean read FUseCastleDataProtocol write FUseCastleDataProtocol default true;

Description

Methods

Protected function DoExecute: boolean; override;
 
Public constructor Create(AOwner: TComponent); override;
 

Properties

Published property URL: string read GetURL write SetURL stored false;
 
Published property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false;

Warn (but still allow) if user selects URL outside of data directory.

Published property UseCastleDataProtocol: Boolean read FUseCastleDataProtocol write FUseCastleDataProtocol default true;

If the URL is detected inside data directory ( https://castle-engine.io/manual_data_directory.php ), make sure it starts with protocol castle-data:/ .


Generated by PasDoc 0.16.0.