Events for cLocalWebAppHost

View event list in alphabetical order

NameDescription
OnGeneratePageTitleTriggered when the page title is automatically updated and allows developers to customize the title format
OnSyncWebAppCalled each time a client makes a call to the server

Inherited Events from cLocalWebControlHost

OnCreateFires when the control is created (paged) and can be augmented to do extra configuration
OnDefineScriptIncludesCalled when generating the virtual HTML

Inherited Events from cBaseLocalControlHost

AllowServerActionProvides a basic hook for controlling server actions based on user rights
OnCallEndCalled at the end of a webapp client call
OnGetNavigateBackDataCalled during a NavigateClose operation, used to pass data back for a non-relational lookup in a mobile web application (drilldown interface)
OnGetNavigateForwardDataCan be used by the developer to customize the data in tWebNavigateData during forward navigation in a mobile web application (drilldown interface)
OnHistoryPopStateCalled when the back button is used in the browser and the history item was pushed using HistoryPushState
OnInitializeLocalesSent when the cWebApp object is loaded to the client (the user loads the page)
OnLoadCalled for each cWebObject during LoadView or LoadWebApp
OnLocationHashChangeContains the location hash part of the URL
OnNavigateBackSent to the object that invoked the view that is being closed in a mobile web application (drilldown interface)
OnOrientationChangeFired when the orientation changes on a mobile device
OnPostInitializeCalled as the last step of the initialization of the WebApp just before pbInitWebApp becomes false
OnResizeWindowFired when the window size of the browser changes at runtime and during initialization

Inherited Events from cWebView2Browser

OnCapturePreviewCompletedSent when the capturing of a preview image is completed
OnContentLoadingSent as part of a navigation operation when the browser starts loading content for the new page
OnDocumentTitleChangedSent whenever the document title of the top level document changes
OnExecuteScriptFinishedSent whenever a script executed using ExecuteScript is finished
OnHistoryChangedSent whenever the browser history changes
OnNavigationCompletedSent when the entire navigation process is finished
OnNewWindowRequestedSent when the page (via a script or a link) requests a new browser window
OnPermissionRequestedSent when the page requires a specific permission
OnScriptDialogOpeningSent when the page tries to open a script dialog
OnSourceChangedSent when the top level page source changes due to a navigation to a different page
OnWindowCloseRequestedSent when the page requests to close the window
OnZoomFactorChangedSent when the zoom level is changed by the user

Inherited Events from cComActiveXControl

OnBeginningOfPanelSent by panel to notify all its objects when a beginning_of_panel message is executed
OnChangeCan perform a task each time the ActiveX control's 'binded' property is changed
OnControlValueChangedNotifies the control that the Value Property in the ActiveX control has changed
OnKillFocusSent whenever the object is about to lose the focus
Prompt_CallbackSends a callback event to an object that requested a prompt object
Shadow_DisplayCalled whenever a change in shadow state occurs, or when an object is paged

Inherited Events from DfComUIObject

CommandSent from external controls
KeyAugmented to implement the GUI keyboard interface

Inherited Events from cUIObject

Entering_ScopeSent to the object if its scope_state is true, and one of the objects within its scope takes the focus
Error_ReportUsed by the error object to display errors
ExitingFires when the focus is about to move to a new object, sent to the object losing the focus
Exiting_ScopeSent whenever the focus is moving to an object that is outside the current scope
Mouse_ClickSent whenever the first button of the mouse is double clicked on an item or in the edit window of the object
Mouse_Click2Sent whenever the second button of the mouse is double clicked on an item or in the edit window of the object
Mouse_DownSent whenever the first button of the mouse is pressed down while on an item or in the edit window of the object
Mouse_Down2Sent whenever the second button of the mouse is pressed down while on an item or in the edit window of the object
Mouse_DragSent 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
Mouse_Drag2Sent 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
Mouse_UpSent whenever the first button of the mouse is released while on an item is in the edit window of the object
Mouse_Up2Sent whenever the second button of the mouse is released while on an item is in the edit window of the object
OnChildWrappingCalled any time a wrapping event occurs
OnEnterAreaHook for entering an area, sent to the entered object's container and its parent containers
OnEnterObjectHook for entering an object, sent to the entered object
OnExitAreaHook for exiting an area, sent to the exited object's container and its parent containers
OnExitObjectHook for exiting an object, sent to the exited object
PageUsed internally to create a Windows control for a DataFlex object

Inherited Events from cObject

Construct_ObjectObject constructor. Initializes the object during object creation in class definitions
Destroy_ObjectSent when an object is about to be destroyed
End_Construct_ObjectEnd of object constructor.