I have a tab panel with 4 panels
if panel 1 is selected my code does NOT work
if you are on panel 2-3-4 then you can use cmd+LR arrows to move to other panels
it just doesn’t work if you are on panel 1
here is my code
could it be that a control is selected while on panel 1 that makes it not receive the key down command
my code in under event handler of the main window
[code] dim tabval As Integer
tabval = Main_Window.TabPanel1.Value
// right arrow
If keyboard.AsyncOSKey and Keyboard.AsyncKeyDown(124) then //right arrow
//MsgBox Str(tabval)
Main_Window.TabPanel1.Value = tabval +1
end
// left arrow
If keyboard.AsyncOSKey and Keyboard.AsyncKeyDown(123) then //left arrow
//MsgBox Str(tabval)
Main_Window.TabPanel1.Value = tabval -1
end[/code]