cancel
Showing results for 
Search instead for 
Did you mean: 

How can I see pop-up menu

Former Member
0 Kudos

I made a form by Screen Painter.

At Matrix when I click right button on mouse

at first column we can see a pop-up menu.

so we can do some functions( of pop-menu )

for example "delete row"

How can see kind of pop-up menu

originally we can see copy menu.

Thank you for your help

Accepted Solutions (1)

Accepted Solutions (1)

former_member185703
Active Contributor
0 Kudos

...if you want to have additional menu items, add them to the form's menu (by code or in the XML Screen Painter generates). They will then be displayed in both menus: the applications "Goto" menu + the context menu.

(The "05_AddingMenuItems" sample of the SDK shows how to do that...)

Regards,

Frank

Answers (1)

Answers (1)

Former Member
0 Kudos
    Private Sub EnableMenu(ByVal Menustate As Boolean)
        'set menu
        Me.SapForm.EnableMenu("1281", Menustate) 'find record 
        Me.SapForm.EnableMenu("1282", Menustate) 'add new record
        Me.SapForm.EnableMenu("1288", Menustate) 'next record 
        Me.SapForm.EnableMenu("1289", Menustate) 'previous record
        Me.SapForm.EnableMenu("1290", Menustate) 'first record
        Me.SapForm.EnableMenu("1291", Menustate) 'last record
        Me.SapForm.EnableMenu("1292", Menustate) 'Add Matrix row
        Me.SapForm.EnableMenu("1293", Menustate) 'Delete Matrix row

    End Sub