OnGeneratePageTitle - cLocalWebAppHost

Triggered when the page title is automatically updated and allows developers to customize the title format

Type: Event

Parameters: String ByRef sTitle Handle hoView String sViewTitle

ParameterDescription
sTitle (ByRef)Contains the page title when coming in, should receive the full title
hoViewHandle to the current view (can be C_WebUnresolvedObject)
sViewTitleCurrent caption of the view (can be "")


Syntax
Procedure OnGeneratePageTitle String ByRef 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.