Using Ctrl+Tab to switch tabs

BlitzMax Forums/BlitzMax Module Tweaks/Using Ctrl+Tab to switch tabs

kragoth74(Posted 2006) [#1]
A quick fix to use "Ctrl+Tab" as shortcut to switch the tabs. This will also restore the standard behavior of Ctrl+left or right.

Open "maxide.bmx". Find the "InitMenu" method of the "CCodePlay" class. And change the following lines:

?Win32
CreateMenu "&Next File",MENUNEXT,file,KEY_RIGHT,MENUMOD
CreateMenu "&Previous File",MENUPREV,file,KEY_LEFT,MENUMOD

to:

?Win32
CreateMenu "&Next File",MENUNEXT,file,KEY_TAB,MENUMOD
CreateMenu "&Previous File",MENUPREV,file,KEY_TAB,MENUMOD|MODIFIER_SHIFT


xlsior(Posted 2006) [#2]
Perturbatio posted the same fix many months ago -- it just hasn't been made part of the official IDE, meaning you have to manually fix & recompile the IDE with every update, and if you don't happen to have the MaxGUI module you're out of luck altogether.

It *used* to work Ok in the older versions, but at some point (1.10 or something?) they changed it for the worse.


Chris C(Posted 2006) [#3]
You'd think this would be in user preferences by now, I wonder how the community version of the ide's doing?

How active is the sourceforge project?


xlsior(Posted 2006) [#4]
*sigh*

You'd think so.

It has been fixed in the community IDE for months.