// -- Code of the menu option
// Identify the control on which the popup menu was opened
ResControl = ControlPopupOwner()
Syntax
<Result> = ControlPopupOwner()
<Result>: Character string
- Name of the control (in uppercase) on which the popup menu was opened,
- Empty string ("") if no popup menu was opened.
If the control belongs to a supercontrol, <Result> has the following format: <Supercontrol Name>.<Control Name>.
Remarks
When the same popup menu is assigned to several controls, ControlPopupOwner is used to identify the control on which the menu was expanded in order to run the appropriate process.