OnHelp Event (CommDlg)

Purpose

Occurs when the Help button on a common dialog is selected.

Syntax

Sub CommDlg_OnHelp

Description

If you've created a Help file for your application you can use ShowHelp to invoke WinHelp, or use the example in Acessing HTMLHelp Files for .chm files, to display help.

Example

OpenW 1

Ocx CommDlg cd

cd.Flags = cdfScreenFonts | cdfShowHelp

cd.ShowFont

CloseW 1

 

Sub cd_OnHelp

Me.Caption = "Help Requested"

EndSub

See Also

CommDlg, ShowHelp

{Created by Sjouke Hamstra; Last updated: 16/07/2015 by James Gaite}