Print Thread
plug in function IDE_KeyPress
#27639 08/20/07 03:59 PM
Joined: May 2003
Posts: 113
Moenchengladbach; Germany
stef Offline OP
Member
OP Offline
Member
Joined: May 2003
Posts: 113
Moenchengladbach; Germany
Function IDE_KeyPress has strange behavior:

1 = Shift
2 = Alt
3 = Ctrl
//switch to next window
IDE_KeyPress ( 'H', 3);

result is open Menu help ( like alt-h )
I want to switch to next window in a "programm window" with 'ctrl h'.

Anybody a good idee!
thanks

confused

Re: plug in function IDE_KeyPress
#27640 08/20/07 10:42 PM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
That should be 4 for Ctrl, 3 is a combined Shift + Alt.

1 = Shift
2 = Alt
4 = Ctrl


Marco Kalter
Allround Automations
Re: plug in function IDE_KeyPress
#27641 08/21/07 07:35 PM
Joined: May 2003
Posts: 113
Moenchengladbach; Germany
stef Offline OP
Member
OP Offline
Member
Joined: May 2003
Posts: 113
Moenchengladbach; Germany
does not work
I tried:
IDE_KeyPress ('H' , 4 ); /*Select all */
IDE_KeyPress ('H' , 4 ); /*Select all */
IDE_KeyPress ('h' , 4 ); /*Select all */

Result is: ( see copyright )
--Copyrighh8ht:

any suggestions
I want to switch from package to body..

Re: plug in function IDE_KeyPress
#27642 08/21/07 10:16 PM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
We'll have to look into this. I'll get back to you tomorrow.


Marco Kalter
Allround Automations
Re: plug in function IDE_KeyPress
#27643 08/22/07 04:00 PM
Joined: May 2003
Posts: 113
Moenchengladbach; Germany
stef Offline OP
Member
OP Offline
Member
Joined: May 2003
Posts: 113
Moenchengladbach; Germany
Marco,

I tried again with same source diff DLL ( removed the old one) now its working fine.

Don't know what was wrong!
Thanks anyway ;-)

Re: plug in function IDE_KeyPress
#27644 08/22/07 08:49 PM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
It worked for me as well. Note that we also have IDE_TabInfo and IDE_TabIndex if you want specific control over tabs.

Also note that the key parameter is an integer, so the 'H' should be Ord('H').


Marco Kalter
Allround Automations
Re: plug in function IDE_KeyPress
Marco Kalter #40976 06/11/11 02:21 PM
Joined: May 2005
Posts: 36
M
Member
Offline
Member
M
Joined: May 2005
Posts: 36
That should be 4 for Ctrl, 3 is a combined Shift + Alt.

Is there Shift + Ctrl option ?


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.037s Queries: 14 (0.011s) Memory: 2.5193 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-04-30 04:18:34 UTC
Valid HTML 5 and Valid CSS