cancel
Showing results for 
Search instead for 
Did you mean: 

Disable CTRL+TAB

Former Member
0 Kudos

Hi,

is it possible to disable the combination of CTRL+TAB on SBO 2005 ? A customer doesn't want because it's problem when they change description in delivery if this description is similar of a description that already exist.

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

rasmuswulff_jensen
Active Contributor
0 Kudos

Yes... it possible...

First of all the client formsettings can be set the item description to be visible but not active. This ios by far the most easy solution...

If that is not enough use this:

Just add something like this to the item-event

if (pVal.CharPressed == 9 && pVal.Modifiers == SAPbouiCOM.BoModifiersEnum.mt_CTRL) {
  BubbleEvent = false;
}

Of cause you need to set up a few mor condition to the canelation of the event (Correct form, item and column)... 9 equals TAB in ascii

Alternative and perhaps better method


if (pVal.FormTypeEx == "133" && pVal.ItemUID == "38" && pVal.ColUID == "3" && pVal.EventType == SAPbouiCOM.BoEventTypes.et_KEY_DOWN && pVal.CharPressed != 9 && pVal.Modifiers != SAPbouiCOM.BoModifiersEnum.mt_CTRL)
            {
                BubbleEvent = false;
            }

This work great except that i doesnt catch Windows copy-paste... A combination to be certain will be the best solution

Answers (0)