cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual key not enabled

former_member212650
Participant
0 Kudos

hi

I'm in a GUITABleCtrl (not a GUIGRIDVIEW) and can page down using keyboard.

But when i do

sap_session.findById("wnd[0]").sendVKey 81 ' page down

get message virtual key not enable..

any ideas..

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_schnell
Active Contributor
0 Kudos

Hello mic,

use

session.findById("wnd[0]").sendVKey 82

to press the PageDown button virtual, 81 is Page Up.

I check it in a GuiTableControl (Typenumber 80) and it works in my case.

I don't know it this is the reason for VKey not enabled.

Here an image from the help file:

Hope it helps.

Cheers

Stefan

former_member212650
Participant
0 Kudos

Thanks but no luck for me

      oIDField.SetFocus ' works ok - focus in table

      sap_session.findById("wnd[0]").sendVKey 82

virtual key not enabled..

I check the table.type

? oidtable.type

GuiTableControl

sap_session.findById("wnd[0]").sendVKey 0 ' works ok