on 04-10-2006 1:58 PM
I created placed some editfields in a form, in order to replace user defined fields, i have a function to "populate" this fields, but, i can't catch the navigation event, can someone tell me these events please?
Hi Fernando,
To get the navigation events you should catch MenuEvents. The Menu UID for the 4 related menus are: First 1290, Prev = 1289, Next = 1288, Last = 1291.
You shoud catch them with some code like:
Private Sub SBO_Application_MenuEvent(pVal As SAPbouiCOM.IMenuEvent, BubbleEvent As Boolean)
If pVal.MenuUID = "1288" Or _
pVal.MenuUID = "1289" Or _
pVal.MenuUID = "1290" Or _
pVal.MenuUID = "1291" Then
If pVal.BeforeAction = False Then
Select Case pVal.MenuUID
'// Under the If clause, check each item if it was clicked
Case "1288"
'Handle Next
Case ...
End Select
End If
End If
End Sub
To know the current form, you can use the ActiveForm property.
Hope helps,
Ibai Peñ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks... you are my hero!! ^^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.