Window.HelpDisplay Property | |
The help display object currently used by this window. This help display object provides a connection between the help file to be displayed and this window.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY HelpDisplay AS USUAL GET SET
public virtual Usual HelpDisplay { get; set; }
Request Example
View SourceProperty Value
Type:
UsualThe help display object currently used by this window. This help display object provides a connection between the help file to be displayed and this window.
Examples
The following example handles the default Help menu command:
1CLASS MyWindow INHERIT TopAppWindow
2METHOD Init() CLASS MyWindow
3SUPER:Init()
4SELF:HelpDisplay := HelpDisplay{"mywind.hlp"}
5METHOD MenuCommand(oMCE) CLASS MyWindow
6LOCAL nItemID := oMCE:ItemID
7DO CASE
8CASE nItemID = IDM_MENU_HELP_INDEX_ID
9SELF:HelpDisplay:Show("HelpIndex")
10CASE nItemID = IDM_MENU_HELP_USINGHELP_ID
11SELF:HelpDisplay:Show("HelpOnHelp")
12OTHERWISE
13SUPER:MenuCommand(oMCE)
14ENDCASE
See Also