SYS(1023) - Enable Help Diagnostic Mode

Enables the Help diagnostic mode, making it possible for you to trap the HelpContextID passed to the Visual FoxPro Help system.

SYS(1023)

Return Values

Character

Remarks

SYS(1023) is useful for debugging a custom Help system for your application. SYS(1023) returns the empty string.

When the Help diagnostic mode is enabled with SYS(1023), a dialog box is displayed whenever you press F1 or issue HELP. The dialog box displays the HelpContextID to be passed to the Visual FoxPro Help system, and you are given the option of passing the HelpContextID to the Visual FoxPro Help system.

If you choose Yes, the HelpContextID is passed to the Visual FoxPro Help system and the corresponding Help topic (if available) is displayed. If you choose No, the HelpContextID is not passed to the Visual FoxPro Help system and the corresponding Help topic is not displayed.

Use SYS(1024) to disable the Help diagnostic mode and restore the default Visual FoxPro Help system processing.

See Also

HELP | HelpContextID Property | SET HELP | SYS(1024) - Disable Help Diagnostic Mode