TdxFilePreviewControlBasedHandler.CreateControl(string) Method
Creates a control to be placed in the preview pane.
Declaration
function CreateControl(const AFileName: string): TWinControl; virtual; abstract;
Parameters
Name | Type | Description |
---|---|---|
AFileName | string | The full path to the focused file. |
Returns
Type | Description |
---|---|
TWinControl | The created control. |
Remarks
You should override this function in a TdxFilePreviewControlBasedHandler class descendant to place a custom control in the preview pane. This control should support files for which the preview handler is registered.
See Also