formhelp ShowHelpFromControl property
Previous  Top  Next
Applies to
FormHelp component.  

Declaration
procedure ShowHelpFromControl(Control: TControl);  

Description
The ShowHelpFromControl method displays the popup window with context-sensitive help, from any visible control specified by Control parameter. Text for popup window will be taken from secondary part of Hint property of specified Control.  

Example
procedure TForm1.Button2Click(Sender: TObject);  
begin  
  FormHelp.ShowHelpFromControl(Button2);  
end;  

See also
ShowHelp and ShowHelpFromPoint methods.