Events for cLocalWebAppHost
View event list in hierarchical order.
| Name | Description | Defining Class |
|---|---|---|
| Activating | Sent by the object to itself whenever the object is first activated (placed on the screen) | cUIObject |
| AllowServerAction | Provides a basic hook for controlling server actions based on user rights Before a published function or procedure is called (from the client), AllowServerAction is called. | cBaseLocalControlHost |
| Command | Sent from external controls Command messages are sent from external controls. | DfComUIObject |
| Construct_Object | Object constructor. | cObject |
| Deactivating | Sent to the object when it is being removed from the focus tree The Deactivating event is sent to the object when it is being removed from the focus tree. | cUIObject |
| Destroy_Object | Sent when an object is about to be destroyed The Destroy_Object event is sent to an object when it is about to be destroyed. | cObject |
| End_Construct_Object | End of object constructor. | cObject |
| Entering | Fires when the focus is about to move to a new object, sent to the object receiving the focus | cUIObject |
| Entering_Scope | Sent to the object if its scope_state is true, and one of the objects within its scope takes the focus | cUIObject |
| Error_Report | Used by the error object to display errors The Error_Report procedure is used by the error object to display errors. | cUIObject |
| Exiting | Fires when the focus is about to move to a new object, sent to the object losing the focus When the focus is about to move to a new object, the exiting event is sent to the object losing the focus. | cUIObject |
| Exiting_Scope | Sent whenever the focus is moving to an object that is outside the current scope The Exiting_Scope event is sent whenever the focus is moving to an object that is outside the current scope. | cUIObject |
| Key | Augmented to implement the GUI keyboard interface The Key message is augmented to implement the GUI keyboard interface. | DfComUIObject |
| Mouse_Click | Sent whenever the first button of the mouse is double clicked on an item or in the edit window of the object | cUIObject |
| Mouse_Click2 | Sent whenever the second button of the mouse is double clicked on an item or in the edit window of the object | cUIObject |
| Mouse_Down | Sent whenever the first button of the mouse is pressed down while on an item or in the edit window of the object | cUIObject |
| Mouse_Down2 | Sent whenever the second button of the mouse is pressed down while on an item or in the edit window of the object | cUIObject |
| Mouse_Drag | Sent whenever the first button of the mouse is being held down while users drag the mouse cursor from one item or edit line of the object to the next | cUIObject |
| Mouse_Drag2 | Sent whenever the second button of the mouse is being held down while users drag the mouse cursor from one item or edit line of the object to the next | cUIObject |
| Mouse_Up | Sent whenever the first button of the mouse is released while on an item is in the edit window of the object Mouse_Up is sent whenever the first (normally the left) mouse button is released. | cUIObject |
| Mouse_Up2 | Sent whenever the second button of the mouse is released while on an item is in the edit window of the object Mouse_Up2 is sent whenever the second (normally the right) mouse button is released. | cUIObject |
| OnBeforeInPlaceActivate | cComActiveXControl | |
| OnCallEnd | Called at the end of a webapp client call Called at the end of a webapp client call. | cBaseLocalControlHost |
| OnCapturePreviewCompleted | Sent when the capturing of a preview image is completed This message is sent when the capturing of a preview image is completed. | cWebView2Browser |
| OnChange | Can perform a task each time the ActiveX control's 'binded' property is changed | cComActiveXControl |
| OnChildWrapping | Called any time a wrapping event occurs The OnChildWrapping message is sent any time a wrapping event occurs. | cUIObject |
| OnCloseModalDialog | Sent by a modal dialog to its invoking object when the dialog closes | cBaseLocalControlHost |
| OnContentLoading | Sent as part of a navigation operation when the browser starts loading content for the new page | cWebView2Browser |
| OnControlValueChanged | Notifies the control that the Value Property in the ActiveX control has changed The OnControlValueChanged event notifies the control that the Value Property in the ActiveX control has changed. | cComActiveXControl |
| OnCreate | Fires when the control is created (paged) and can be augmented to do extra configuration | cLocalWebControlHost |
| OnCreatePopupBrowser | Fires after a popup window has been created when pePopupMode is set to pmPopupMdiView or pmPopupFloatingPanel | cWebView2Browser |
| OnDefineScriptIncludes | Called when generating the virtual HTML Implement this event to add custom script includes to the header of the HTML loaded in the web control host. | cLocalWebControlHost |
| OnDocumentTitleChanged | Sent whenever the document title of the top level document changes This message is sent whenever the document title of the top level document changes. | cWebView2Browser |
| OnEnterArea | Hook for entering an area, sent to the entered object's container and its parent containers | cUIObject |
| OnEnterObject | Hook for entering an object, sent to the entered object Called after the navigation event is complete, so Focus(Self) is always the "to" object. | cUIObject |
| OnExecuteScriptFinished | Sent whenever a script executed using ExecuteScript is finished This message is sent whenever a script executed using ExecuteScript is finished. | cWebView2Browser |
| OnExitArea | Hook for exiting an area, sent to the exited object's container and its parent containers | cUIObject |
| OnExitObject | Hook for exiting an object, sent to the exited object Called after the navigation event is complete, so Focus(Self) is always the "to" object. | cUIObject |
| OnGeneratePageTitle | Triggered when the page title is automatically updated and allows developers to customize the title format | cLocalWebAppHost |
| OnGetNavigateBackData | Called during a NavigateClose operation, used to pass data back for a non-relational lookup in a mobile web application (drilldown interface) | cBaseLocalControlHost |
| OnGetNavigateForwardData | Can be used by the developer to customize the data in tWebNavigateData during forward navigation in a mobile web application (drilldown interface) | cBaseLocalControlHost |
| OnHistoryChanged | Sent whenever the browser history changes This message is sent whenever the browser history changes. | cWebView2Browser |
| OnHistoryPopState | Called when the back button is used in the browser and the history item was pushed using HistoryPushState | cBaseLocalControlHost |
| OnInitializeLocales | Sent when the cWebApp object is loaded to the client (the user loads the page) | cBaseLocalControlHost |
| OnKillFocus | Sent whenever the object is about to lose the focus This event message is sent whenever the object is about to lose the focus. | cComActiveXControl |
| OnLoad | Called for each cWebObject during LoadView or LoadWebApp Called for each cWebObject during LoadView or LoadWebApp. | cBaseLocalControlHost |
| OnLocationHashChange | Contains the location hash part of the URL This property contains the location hash part of the URL. | cBaseLocalControlHost |
| OnNavigateBack | Sent to the object that invoked the view that is being closed in a mobile web application (drilldown interface) | cBaseLocalControlHost |
| OnNavigationCompleted | Sent when the entire navigation process is finished This message is sent when the entire navigation process is finished. | cWebView2Browser |
| OnNavigationStarting | Sent when a new navigation operation is being initiated This message is sent when a new navigation operation is being initiated. | cWebView2Browser |
| OnNewWindowRequested | Sent when the page (via a script or a link) requests a new browser window This message is sent when the page (via a script or a link) requests a new browser window. | cWebView2Browser |
| OnOrientationChange | Fired when the orientation changes on a mobile device This event is fired when the orientation changes on a mobile device. | cBaseLocalControlHost |
| OnPermissionRequested | Sent when the page requires a specific permission This message is sent when the page requires a specific permission. | cWebView2Browser |
| OnPostInitialize | Called as the last step of the initialization of the WebApp just before pbInitWebApp becomes false Called as the last step of the initialization of the webapp just before pbInitWebApp becomes False. | cBaseLocalControlHost |
| OnResizeWindow | Fired when the window size of the browser changes at runtime and during initialization This event is fired when the window size of the browser changes at runtime and during initialization. | cBaseLocalControlHost |
| OnScriptDialogOpening | Sent when the page tries to open a script dialog This message is sent when the page tries to open a script dialog. | cWebView2Browser |
| OnSetFocus | Sent whenever windows is about to give this object the focus This event message is sent whenever windows is about to give this object the focus. | cComActiveXControl |
| OnSourceChanged | Sent when the top level page source changes due to a navigation to a different page This message is sent when the top level page source changes due to a navigation to a different page. | cWebView2Browser |
| OnSyncWebApp | Called each time a client makes a call to the server | cLocalWebAppHost |
| OnSystemThemePreferenceChange | cBaseLocalControlHost | |
| OnViewAccessDenied | This event message is sent when access is denied to a view. | cLocalWebAppHost |
| OnWebMessageReceived | Sent when the page has sent a WebMessage to the host application This message is sent when the page has sent a WebMessage to the host application. | cWebView2Browser |
| OnWebResourceRequested | Triggered when the page loads a resource that matches a filter that is configures using AddWebResourceRequestedFilter | cWebView2Browser |
| OnWindowCloseRequested | Sent when the page requests to close the window This message is sent when the page requests to close the window. | cWebView2Browser |
| OnZoomFactorChanged | Sent when the zoom level is changed by the user This message is sent when the zoom level is changed by the user. | cWebView2Browser |
| Page | Used internally to create a Windows control for a DataFlex object Used internally to create a Windows control for a DataFlex object. | cUIObject |
| Page_Delete | Used internally to delete a Windows control for a DataFlex object Used internally to delete a Windows control for a DataFlex object. | cUIObject |
| PostSerializeObject | cBaseLocalControlHost | |
| PreSerializeObject | cBaseLocalControlHost | |
| Prompt_Callback | Sends a callback event to an object that requested a prompt object | cComActiveXControl |
| Shadow_Display | Called whenever a change in shadow state occurs, or when an object is paged The Shadow_Display event is called whenever a change in shadow state occurs, or when an object is paged. | cComActiveXControl |