on 05-12-2006 3:11 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.