on 08-10-2006 7:25 AM
Hi all,
Im just curious whether I can use ctrl + arrow UP button in keyboard to move from one row to another in matrix (nonsystem form). i have tested using modifiers but it seems like it cant recognize the ascii.
anyone has done it before? mind to share? thanks..
erwine
Hi Erwine,
I think that you have to use the modifiers with Char(38) and Char(40) which is up and down keys.
Hope it helps,
Adele
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Erwine!
Pressing CTRL calls et_KEY_DOWN event only if you press CTRLTAB OR CTRLDEL. Other buttons with CTRL are not handled. I think it's because of standard system combinations (CTRLC, CTRLV, CTRL+1,2... - managing windows in SBO).
It's better to use SHIFT(or other Modifiers)+some_button to move from one row to another in your matrix.
Best regards,
Aleksey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have applied it. it doesnt work too
If pval.CharPressed = 38 Then
If pval.Modifiers = SAPbouiCOM.BoModifiersEnum.mt_CTRL Then
MsgBox("up")
End If
ElseIf pval.CharPressed = 40 Then
If pval.Modifiers = SAPbouiCOM.BoModifiersEnum.mt_CTRL Then
MsgBox("down")
End If
ElseIf pval.CharPressed = 9 Then
If pval.Modifiers = SAPbouiCOM.BoModifiersEnum.mt_CTRL Then
MsgBox("tab")
End If
End If
the code above is only for simple testing. it only worked only when i pressed ctrl+tab, not for up and down.
i put the codes in beforeaction = true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.