Unit 'uCEFWindowComponent' Package
[Overview][Classes][Index] [#pl_cef4typhon]

TCEFWindowComponent

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: uCEFWindowComponent.pas line 22

type TCEFWindowComponent = class(TCEFPanelComponent,ICefWindowDelegateEvents)

protected

  FWindow: ICefWindow;

  

  FWindowDlg: ICefWindowDelegate;

  

  FOnWindowCreated: TOnWindowCreatedEvent;

  

  FOnWindowClosing: TOnWindowClosingEvent;

  

  FOnWindowDestroyed: TOnWindowDestroyedEvent;

  

  FOnWindowActivationChanged: TOnWindowActivationChangedEvent;

  

  FOnWindowBoundsChanged: TOnWindowBoundsChangedEvent;

  

  FOnGetParentWindow: TOnGetParentWindowEvent;

  

  FOnIsWindowModalDialog: TOnIsWindowModalDialogEvent;

  

  FOnGetInitialBounds: TOnGetInitialBoundsEvent;

  

  FOnGetInitialShowState: TOnGetInitialShowStateEvent;

  

  FOnIsFrameless: TOnIsFramelessEvent;

  

  FOnWithStandardWindowButtons: TOnWithStandardWindowButtonsEvent;

  

  FOnGetTitlebarHeight: TOnGetTitlebarHeightEvent;

  

  FOnCanResize: TOnCanResizeEvent;

  

  FOnCanMaximize: TOnCanMaximizeEvent;

  

  FOnCanMinimize: TOnCanMinimizeEvent;

  

  FOnCanClose: TOnCanCloseEvent;

  

  FOnAccelerator: TOnAcceleratorEvent;

  

  FOnKeyEvent: TOnWindowKeyEventEvent;

  

  FOnWindowFullscreenTransition: TOnWindowFullscreenTransitionEvent;

  

  procedure DestroyView; override;

  

  procedure Initialize; override;

  

  function GetInitialized; override;

  

  function GetAsView; override;

  

  function GetAsPanel; override;

  

  function GetAsWindow; override;

  

  function GetIsClosed;

  

  function GetIsActive;

  

  function GetIsAlwaysOnTop;

  

  function GetIsMaximized;

  

  function GetIsMinimized;

  

  function GetIsFullscreen;

  

  function GetTitle;

  

  function GetWindowIcon;

  

  function GetWindowAppIcon;

  

  function GetDisplay;

  

  function GetClientAreaBoundsInScreen;

  

  function GetWindowHandle;

  

  procedure SetAlwaysOnTop();

  

  procedure SetFullscreen();

  

  procedure SetTitle();

  

  procedure SetWindowIcon();

  

  procedure SetWindowAppIcon();

  

  procedure doOnWindowCreated();

  

  procedure doOnWindowClosing();

  

  procedure doOnWindowDestroyed();

  

  procedure doOnWindowActivationChanged();

  

  procedure doOnWindowBoundsChanged();

  

  procedure doOnGetParentWindow();

  

  procedure doOnIsWindowModalDialog();

  

  procedure doOnGetInitialBounds();

  

  procedure doOnGetInitialShowState();

  

  procedure doOnIsFrameless();

  

  procedure doOnWithStandardWindowButtons();

  

  procedure doOnGetTitlebarHeight();

  

  procedure doOnCanResize();

  

  procedure doOnCanMaximize();

  

  procedure doOnCanMinimize();

  

  procedure doOnCanClose();

  

  procedure doOnAccelerator();

  

  procedure doOnKeyEvent();

  

  procedure doOnWindowFullscreenTransition();

  

  procedure doCreateCustomView; override;

  

public

  procedure CreateTopLevelWindow;

  

  procedure Show;

  

  procedure ShowAsBrowserModalDialog();

  

  procedure Hide;

  

  procedure CenterWindow();

  

  procedure Close;

  

  procedure Activate;

  

  procedure Deactivate;

  

  procedure BringToTop;

  

  procedure Maximize;

  

  procedure Minimize;

  

  procedure Restore;

  

  function AddOverlayView();

  

  procedure ShowMenu();

  

  procedure CancelMenu;

  

  procedure SetDraggableRegions();

  

  procedure SendKeyPress();

  

  procedure SendMouseMove();

  

  procedure SendMouseEvents();

  

  procedure SetAccelerator();

  

  procedure RemoveAccelerator();

  

  procedure RemoveAllAccelerators;

  

  property Title: ustring; [rw]

  

  property WindowIcon: ICefImage; [rw]

  

  property WindowAppIcon: ICefImage; [rw]

  

  property Display: ICefDisplay; [r]

  

  property ClientAreaBoundsInScreen: TCefRect; [r]

  

  property WindowHandle: TCefWindowHandle; [r]

  

  property IsClosed: Boolean; [r]

  

  property IsActive: Boolean; [r]

  

  property IsAlwaysOnTop: Boolean; [rw]

  

  property IsFullscreen: Boolean; [rw]

  

  property IsMaximized: Boolean; [r]

  

  property IsMinimized: Boolean; [r]

  

published

  property OnWindowCreated: TOnWindowCreatedEvent; [rw]

  

  property OnWindowClosing: TOnWindowClosingEvent; [rw]

  

  property OnWindowDestroyed: TOnWindowDestroyedEvent; [rw]

  

  property OnWindowActivationChanged: TOnWindowActivationChangedEvent; [rw]

  

  property OnWindowBoundsChanged: TOnWindowBoundsChangedEvent; [rw]

  

  property OnGetParentWindow: TOnGetParentWindowEvent; [rw]

  

  property OnIsWindowModalDialog: TOnIsWindowModalDialogEvent; [rw]

  

  property OnGetInitialBounds: TOnGetInitialBoundsEvent; [rw]

  

  property OnGetInitialShowState: TOnGetInitialShowStateEvent; [rw]

  

  property OnIsFrameless: TOnIsFramelessEvent; [rw]

  

  property OnWithStandardWindowButtons: TOnWithStandardWindowButtonsEvent; [rw]

  

  property OnGetTitlebarHeight: TOnGetTitlebarHeightEvent; [rw]

  

  property OnCanResize: TOnCanResizeEvent; [rw]

  

  property OnCanMaximize: TOnCanMaximizeEvent; [rw]

  

  property OnCanMinimize: TOnCanMinimizeEvent; [rw]

  

  property OnCanClose: TOnCanCloseEvent; [rw]

  

  property OnAccelerator: TOnAcceleratorEvent; [rw]

  

  property OnKeyEvent: TOnWindowKeyEventEvent; [rw]

  

  property OnWindowFullscreenTransition: TOnWindowFullscreenTransitionEvent; [rw]

  

end;

Inheritance

TCEFWindowComponent

  

|

TCEFPanelComponent,ICefWindowDelegateEvents

  

|

TCEFViewComponent,ICefPanelDelegateEvents

  

|

TObject,ICefViewDelegateEvents



CT Web help

CodeTyphon Studio