Adding a Tool Tip

In this procedure, you will add a tool tip, the yellow hint that appears when the mouse rests over an interface element, to your new toolbar button.

Note   AppWizard appends the tool tip string automatically to the prompt strings it generates.

To add a tool tip

  1. If necessary, select the new toolbar button in the editor window, and click Properties from the View menu to display the Toolbar Button Properties page.

    In the Prompt box, you’ll see the text string “Toggles the line thickness between thin and thick”. Because you entered this text for the Thick Line menu item on Scribble’s Pen menu; it appears in the status line when the mouse passes over the menu command.

  2. To add a tool tip, at the end of the Prompt text type a newline character (\n) plus the text you want displayed in the tip (there should be no space between the newline character and the tip text). If you want a tool tip without a prompt string, simply start with the newline character.

    Keep this text short. For Scribble, type \nToggle Pen after the existing Prompt string.

  3. Save your work.