Class TCastleOpenDialog

Unit

Declaration

type TCastleOpenDialog = class(TOpenDialog)

Description

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

Source: src/lcl/castledialogs.pas (line 28).

Hierarchy

  • TObject
  • TPersistent
  • TComponent
  • TLCLComponent
  • TCommonDialog
  • TFileDialog
  • TOpenDialog
  • TCastleOpenDialog

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;

This item has no description.

Source: src/lcl/castledialogs.pas (line 35).

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Source: src/lcl/castledialogs.pas (line 37).

Properties

Published property Url: String read GetUrl write SetUrl stored false;

This item has no description.

Source: src/lcl/castledialogs.pas (line 39).

Published property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false;

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

Source: src/lcl/castledialogs.pas (line 41).

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

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

Source: src/lcl/castledialogs.pas (line 44).


Generated by PasDoc 0.17.0.snapshot.