THYFMXNativePanel

Overview

The THYFMXNativePanel is a base control for a visual plugin placeholders. This panel creates an underlying native window to be able to act as a parent window for visual plugins.

Location


 

constructor Create  override

Creates a new instance of the class.

constructor Create(AOwner: TComponent)

Parameters:

  • AOwner: Reference to a parent control.

ChangePaintingState

Changes control visibility state.

procedure ChangePaintingState(Enable: Boolean)

Parameters:

  • Enable: Value that indicates whether control is visible.

CreateHandle  protected virtual

Creates a new window handle for the embedded window.

procedure CreateHandle

Design  protected

Gets a value that indicates whether control is in design mode.

property Design: Boolean read write

DestroyHandle  protected virtual

Destroys a handle of the underlying window.

procedure DestroyHandle

GetShiftState  protected

Returns current keyboard shift state.

function GetShiftState: TShiftState

Handle

Gets window handle of the underlying window.

property Handle: THandle read write

HideWindow  protected virtual

Hides underlying window.

procedure HideWindow

IsWindowActive  protected

Gets a value that shows whether window is active.

property IsWindowActive: Boolean read write

MatrixChanged  protected override

Overriden. Handles changes to the transformation matrix.

procedure MatrixChanged(Sender: TObject)

Parameters:

  • Sender:

ParentForm

Gets reference to a parent form.

property ParentForm: TCustomForm read write

ParentFormHandle

Gets handle of the parent window.

property ParentFormHandle: HWND read write

RecalcAbsolute  override

Overriden. Forces the current control to recalculate the AbsoluteMatrix property.

procedure RecalcAbsolute

RedrawWindow  protected virtual

Redraws underlying window.

procedure RedrawWindow

Resize  protected override

Overriden. OnResize event dispatcher.

procedure Resize

ResizeWindow  protected virtual

Resizes underlying window.

procedure ResizeWindow

SendTab  protected

Sends TAB key to a prent form.

procedure SendTab

SetParent  protected override

Overriden. Sets parent object.

procedure SetParent(const Value: TFmxObject)

Parameters:

  • Value: Reference to a new parent object.

SetVisible  protected override

Changes control visibility state.

procedure SetVisible(const Value: Boolean)

Parameters:

  • Value: Value that indicates whether control is visible.

ShowWindow  protected virtual

Shows underlying window.

procedure ShowWindow

WindowProc  protected virtual

Changes control visibility state.

function WindowProc(hwnd: hwnd; uMsg: UINT; wParam: wParam; lParam: lParam): LRESULT

Parameters:

  • hwnd: A handle to the window.
  • uMsg: Message code.
  • wParam: Additional message information.
  • lParam: Additional message information.

WindowRect

Gets rectange of the control.

property WindowRect: TRect read write

 

Design  protected

Gets a value that indicates whether control is in design mode.

property Design: Boolean read write

Handle

Gets window handle of the underlying window.

property Handle: THandle read write

IsWindowActive  protected

Gets a value that shows whether window is active.

property IsWindowActive: Boolean read write

ParentForm

Gets reference to a parent form.

property ParentForm: TCustomForm read write

ParentFormHandle

Gets handle of the parent window.

property ParentFormHandle: HWND read write

WindowRect

Gets rectange of the control.

property WindowRect: TRect read write

 

constructor Create  override

Creates a new instance of the class.

constructor Create(AOwner: TComponent)

Parameters:

  • AOwner: Reference to a parent control.

ChangePaintingState

Changes control visibility state.

procedure ChangePaintingState(Enable: Boolean)

Parameters:

  • Enable: Value that indicates whether control is visible.

CreateHandle  protected virtual

Creates a new window handle for the embedded window.

procedure CreateHandle

DestroyHandle  protected virtual

Destroys a handle of the underlying window.

procedure DestroyHandle

GetShiftState  protected

Returns current keyboard shift state.

function GetShiftState: TShiftState

HideWindow  protected virtual

Hides underlying window.

procedure HideWindow

MatrixChanged  protected override

Overriden. Handles changes to the transformation matrix.

procedure MatrixChanged(Sender: TObject)

Parameters:

  • Sender:

RecalcAbsolute  override

Overriden. Forces the current control to recalculate the AbsoluteMatrix property.

procedure RecalcAbsolute

RedrawWindow  protected virtual

Redraws underlying window.

procedure RedrawWindow

Resize  protected override

Overriden. OnResize event dispatcher.

procedure Resize

ResizeWindow  protected virtual

Resizes underlying window.

procedure ResizeWindow

SendTab  protected

Sends TAB key to a prent form.

procedure SendTab

SetParent  protected override

Overriden. Sets parent object.

procedure SetParent(const Value: TFmxObject)

Parameters:

  • Value: Reference to a new parent object.

SetVisible  protected override

Changes control visibility state.

procedure SetVisible(const Value: Boolean)

Parameters:

  • Value: Value that indicates whether control is visible.

ShowWindow  protected virtual

Shows underlying window.

procedure ShowWindow

WindowProc  protected virtual

Changes control visibility state.

function WindowProc(hwnd: hwnd; uMsg: UINT; wParam: wParam; lParam: lParam): LRESULT

Parameters:

  • hwnd: A handle to the window.
  • uMsg: Message code.
  • wParam: Additional message information.
  • lParam: Additional message information.