InvokeHelpPointer method
|
acFormHelp component.
|
procedure InvokeHelpPointer;
|
The InvokeHelpPointer method changes the cursor to a question mark with a pointer. If the user then clicks a control in the form, the control receives a message to show the context-sensitive help taken from secondary part of the Hint property.
|
procedure TForm1.Button2Click(Sender: TObject);
|
begin
|
acFormHelp1.InvokeHelpPointer;
|
end;
|
The InvokeHelpPointer procedure is equal to SendMessage(FormHandle, WM_SYSCOMMAND, SC_CONTEXTHELP, 0). So example above is equal to following code:
|
procedure TForm1.Button2Click(Sender: TObject);
|
begin
|
SendMessage(Handle, WM_SYSCOMMAND, SC_CONTEXTHELP, 0);
|
end;
|
MenuItem and ToolbarButton properties of the WhatsThis structure.
|