on 10-14-2008 1:55 PM
Hi,
I want to disable delete key for edit box.
and want to allow home key of keyboard.
now the problem is SAP display charpress 36 for both key.
so how can i distingush which key is pressed ?
Regards,
Alpesh
Silver Touch Technologies
Alpesh,
in this case you are not able to find out, which key was pressed (SAP returns in pVal.CharPressed the same values for non standard keys even modifiers are same). The only way (I think) is use other thread and with .NET catch the pressing key and then with itemevent combine, if the user is on edittext or not and based on this allow or disable the key.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.