Class TCastleOpenImageDialog
Unit
Declaration
type TCastleOpenImageDialog = class(TOpenPictureDialog)
Description
Image open dialog. It uses an URL, and additionally initializes the filters to include all the image types our engine can load through CastleImages.LoadImage.
Hierarchy
- TObject
- TPersistent
- TComponent
- TLCLComponent
- TCommonDialog
- TFileDialog
- TOpenDialog
- TPreviewFileDialog
- TOpenPictureDialog
- TCastleOpenImageDialog
Overview
Methods
![]() |
function DoExecute: boolean; override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
function UrlCount: Integer; |
Properties
![]() |
property Urls[Index: Integer]: String read GetUrlWithIndex; |
![]() |
property Url: String read GetUrl write SetUrl stored false; |
![]() |
property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false; |
![]() |
property UseCastleDataProtocol: Boolean read FUseCastleDataProtocol write FUseCastleDataProtocol default true; |
![]() |
property Filter stored StoreFilterAndFilterIndex; |
![]() |
property FilterIndex stored StoreFilterAndFilterIndex; |
Description
Methods
![]() |
function DoExecute: boolean; override; |
This item has no description. |
![]() |
constructor Create(AOwner: TComponent); override; |
This item has no description. |
![]() |
function UrlCount: Integer; |
Number of selected images to open (useful when multi-selection is allowed). |
Properties
![]() |
property Urls[Index: Integer]: String read GetUrlWithIndex; |
Get Url of a selected image to open (useful when multi-selection is allowed). |
![]() |
property Url: String read GetUrl write SetUrl stored false; |
This item has no description. |
![]() |
property AdviceDataDirectory: Boolean read FAdviceDataDirectory write FAdviceDataDirectory default false; |
Warn (but still allow) if user selects URL outside of data directory. |
![]() |
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:/ . |
![]() |
property Filter stored StoreFilterAndFilterIndex; |
This item has no description. |
![]() |
property FilterIndex stored StoreFilterAndFilterIndex; |
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.