Activate the help context cursor  

Send By: Q3 Team
Web : http://www.q3.nu
Email: dlib@q3.nu
Date: 04/09/99

Tip accessed 1140 times

 


You already know, like they make some programs in those that a cursor appears with an interrogation so that you make click on the control of your form of which you want the help.
This tip will only serve you if you use a system of help (help context) in your application.

  • Put a button in your form, and put this code in their OnClick event:


     procedure TForm1.Button1Click(Sender: TObject);
     begin
       SendMessage(Form1.handle,WM_SYSCOMMAND,SC_CONTEXTHELP,0);
     end;