simulate pressing the F2
Posted: Tue Feb 28, 2012 1:10 pm
Hi all, not if I can help.
I need to simulate pressing the F2 key, pressing a button. The code I am trying to use is the following but not working.
@ 20, 0 DCTOOLBAR oBotonesTecla SIZE 110,3 BUTTONSIZE 11,3
DCADDBUTTON CAPTION 'F2';
PARENT oBotonesTecla;
ACTION {||PostAppEvent(xbeK_F2,,,DC_GetListObject( GetList ))}
Thank you very much for your help.
Miguel
I need to simulate pressing the F2 key, pressing a button. The code I am trying to use is the following but not working.
@ 20, 0 DCTOOLBAR oBotonesTecla SIZE 110,3 BUTTONSIZE 11,3
DCADDBUTTON CAPTION 'F2';
PARENT oBotonesTecla;
ACTION {||PostAppEvent(xbeK_F2,,,DC_GetListObject( GetList ))}
Thank you very much for your help.

Miguel