Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to use the matrix row click method with the ModifiersMask parameter?

I wanna to use my program to select all matrix row item on system form. I saw the Help Center noted the row click method:

Description

Activates an et_CLICK event (set focus) on specific cell.

Syntax

Public Sub Click( _

Optional ByVal ClickType As BoCellClickType = 0, _

Optional ByVal ModifiersMask As Long = 0 _

)

Parameters

ClickType

Specifies the type of click according to the BoCellClickType enumeration. Member Description Value

ct_Regular Normal click (after Exit event). 0

ct_Double Double-click. 1

ct_Linked Click on link arrow connected to the cell (only for matrix cells). 2

ct_Collapsed Click on collapse arrow connected to the cell (only for matrix cells). 3

ModifiersMask

A long value specifying a keyboard key pressed together with the click.

The value is a mask allowing you to specify a combination of pressed keys.

What the ModifiersMask parameter mean?

Former Member replied

omatrix.Columns.Item(0).Cells.Item(i).Click(SAPbouiCOM.BoCellClickType.ct_Regular, SAPbouiCOM.BoModifiersEnum.mt_CTRL)

or

omatrix.Columns.Item(0).Cells.Item(i).Click(SAPbouiCOM.BoCellClickType.ct_Regular, 4096)

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question