Re: Keystrokes simulations

new topic     » goto parent     » topic index » view thread      » older message » newer message

don cole wrote:
> 
> Sergio Gelli wrote:
> > 
> > Bom dia para todos.
> > Good morning for all
> > 
> > I use with success the below code line:
> > 
> >  ii=invokeHandler(PushButton34, w32HClick, {})	
> > 
> > But the next line don't work:
> > 
> >   ii = invokeHandler(PushButton34, VK_TAB, {})
> > 
> > The target is simulates the TAB key to change the focus 
> > to another objects inside an windows. I also was try :
> > 
> >   ii = invokeHandler(WinMain1, VK_TAB, {})
> > 
> > But, this don't work too.
> > 
> > How can I simulates a keystrok into a progran ?
> > 
> > Many thanks.
> > 
> > Sérgio Gelii - Brasil
> 
> Hello Sergio,
> 
>   w32HClick is an event.
>   VK_TAB is an attribute.
> 
>   Try: ii = invokeHandler(WinMain1, w32HClick, {})
> 
> Don Cole

Hi Don
ii = invokeHandler(WinMain1, w32HClick, {})
It simulates a mouse click over WinMain1
I need simulates a TAB key down and others 

Thanks

Sérgio Gelli - Brasil

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu