TdxFilePreviewControlBasedHandler.CreateControl(string) Method
In This Article
Creates a control to be placed in the preview pane.
#Declaration
Delphi
function CreateControl(const AFileName: string): TWinControl; virtual; abstract;
#Parameters
Name | Type | Description |
---|---|---|
AFile |
string | The full path to the focused file. |
#Returns
Type | Description |
---|---|
TWin |
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