How to simulate keyboard combinations like shift + g ... 
Author Message
 How to simulate keyboard combinations like shift + g ...

How to simulate keyboard combinations like shift + g so if you click on a
command button it's the same effect like shift + g

Regards,

Philippe



Tue, 13 Jul 2004 04:21:27 GMT  
 How to simulate keyboard combinations like shift + g ...
On Thu, 24 Jan 2002 21:21:27 +0100, "Philippe"

Quote:

>How to simulate keyboard combinations like shift + g so if you click on a
>command button it's the same effect like shift + g

Look up SendKeys in help.  
From memory Shift is '+' .
So..

Command1.SetFocus
SendKeys "+{g}"

Hven't tried it, the commandbutton has a mind of it's own with
keypresses, but it should work i think... :)

Regards, Frank



Tue, 13 Jul 2004 09:35:28 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to simulate keyboard combinations like shift + g ...

2. How to simulate keyboard combinations like shift + g so if you click on a command button it's the same effect like shift + g

3. Simulating the left alt+shift and the right alt+shift in vb

4. ALT SHIFT KEY COMBINATION

5. Keyboard handler with multiple key combinations

6. DirectInput keyboard combinations

7. Simulate keyboard entry

8. Simulating mouse movements and Clicks on the Keyboard

9. Simulate Keyboard Input

10. Simulate mouse and keyboard

11. Simulating Keyboard Input

12. shift-f2 / ctl-shift-f2

 

 
Powered by phpBB® Forum Software