formhelp WhatsThis structure
Return to Introduction  Previous page  Next page
Applies to
acFormHelp component.  

  TacWhatsThis = class  
    property Enabled: Boolean;  
    property CaptionString// Caption for "What's this?" menu item. Use this property for localization  
    property MenuItem: TMenuItem;  
    property ToolbarButton: TControl;  

The WhatsThis structure used to specify whether the acFormHelp component supports the "What's This?" feature (whether every control on the form contains the "What's This?" menu item associated with the context-sensitive help).  
When the Enabled property is True, the acFormHelp will add the "What's This ?" menu item to every control of the form with context-sensitive help in the secondary part of Hint property. When user selects the "What's This ?" menu item, the context-sensitive help associated with the control will pop up.  
You can also specify the Caption for this menu item (for example, to translate it to another language in the multilingual programs), and specify the external menu item and toolbar button which operates with the built-in context-sensitive help. When user clicks the "What's This?" menu item or button, the cursor will be changed to a question mark with a pointer.  

iiwarning The "What's This?" menu will not appears on right-click, if the control have its own popup menu (i.e. Edit or Memo controls).  

See also
InvokeHelpPointer method.