Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Disable CTRL+TAB

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.

replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question