Simulate button click

Simulate button click

Postby Wanderson » Fri Aug 31, 2012 1:51 pm

Hello,

How i can simulate a user button click?

Thanks in advance.
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: Simulate button click

Postby carlos vargas » Fri Aug 31, 2012 4:53 pm

Code: Select all  Expand view

..
redefine button oBtnAdd ID 201 OF oDlg ACTION MsgInfo("Hello Wold")
..
oBtnAdd:click()

 


salu2
carlos vargas
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Simulate button click

Postby Wanderson » Fri Aug 31, 2012 10:54 pm

carlos vargas wrote:
Code: Select all  Expand view

..
redefine button oBtnAdd ID 201 OF oDlg ACTION MsgInfo("Hello Wold")
..
oBtnAdd:click()

 


salu2
carlos vargas


Thanks, works great!
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Silvio.Falconi and 103 guests