formhelp ToolbarButton property
Previous  Top  Next
Applies to
FormHelp component as subproperty of WhatsThis structure.  

Declaration
property ToolbarButton: TControl;  

Description
The ToolbarButton property points to the "What's This?" button on the toolbar (or any control, in general). When user clicks this button, the cursor will be changed to a question mark with a pointer.  
 
If the user then clicks a control in the form, the control receives a WM_HELP message. The FormHelp component hooks this message to show the context-sensitive help taken from secondary part of the Hint property.  
 
tip When you point this property to the control, you don't need to handle OnClick event of this control. The FormHelp will handle if for you automatically. However, if you need to specify many "What's this?" buttons — just call the InvokeHelpPointer method in the OnClick event handler of this control, without pointing this property to it.  

Snapshot
acformhelpss4  

See also
MenuItem property and InvokeHelpPointer method.