OnGeneratePageTitle - cWebApp
Triggered when the page title is automatically updated and allows developers to customize the title format
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| ByRef sTitle | String | Contains the page title when coming in, should receive the full title |
| hoView | Handle | Handle to the current view (can be C_WebUnresolvedObject) |
| sViewTitle | String | Current caption of the view (can be "") |
Syntax
Procedure OnGeneratePageTitle ByRef String sTitle Handle hoView String sViewTitle
Description
This event is triggered when the page title is automatically updated (if pbUpdateApplicationTitle is True) and allows the developer to customize the title format.
By default (after forward send), the format is "{psApplicationTitle} - {current view caption}".
Note that with the drill-down model, the header caption (SetHeaderCaption) is used as view caption instead of psCaption.