Click a Button by code  

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

Tip accessed 603 times

 


It is not enough with executing their event OnCLik... this no will press the button... but this code yes:


   Button1.Perform(WM_LButtonDown,0,0);
   Sleep(250);
   Button1.Perform(WM_LButtonUp,0,0);