Page 1 of 1

AES Customizations - popupMenu

Posted: Thu Mar 02, 2023 8:36 am
by luis.bustamante
Hi,

I'm using WinCC OA version 3.18 and 3.19.

I'm testing the new functionality of adding more items to the popupMenu in the AES, using 2 libraries.
- aescustomizations.ctl
- CustomizeAesRow.ctl

Inside the CustomizeAesRow library and the handleMenuItemClick() method, how can I know the element on which the right click has been clicked.

Inside the selectedRows argument, all the records of the table are returned. I want to get the data of the record I need.

Any help on this ?

Thanks

Re: AES Customizations - popupMenu

Posted: Thu Mar 02, 2023 2:30 pm
by luis.bustamante
I am answering myself while waiting to see if anyone has a solution.

The problem is in the function
aes_menuFunctionHandler(... int row ...)
which does not pass the "row" parameter internally to the g_aesRowCustomizer.handleMenuItemClick() function.
handled = g_aesRowCustomizer.handleMenuItemClick(functionId, mTableMultipleRows);