Description

Displays help text for tools.

Return Type

None  

Syntax

object.SetToolHelp [Text], [Title], [Module], [Flags], [HelpContext], [HelpFile]

The SetToolHelp Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McApplication.
TextOptional. A String value.

The help message to display.

TitleOptional. A String value.

A title for the help window (not used).

ModuleOptional. A String value.

Module used when calling LocalizeString.

FlagsOptional. A mcToolHelpFlags enumeration, as described in settings.

Localize Text and Title if set to mcthfLocalize.

HelpContextOptional. A Long value.

The topic id for additional help information (not used).

HelpFileOptional. A String value.

The help file for additional help information (not used).

Settings

The settings for Flags are:

ConstantValueDescription
 mcthfLocalize1

Localize the Text passed to SetToolHelp before displaying it.

 mcthfRTF2

SetToolHelp Text parameter contains RTF text.

Remarks

The current implementation for this method calls LocalizeString(Text,Module), then display Text in the first Pane of StatusBar. Future implementations will use the other parameters to create popup help windows.