PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ControlPopupOwner (Function)
In French: ChampContextuel
Warning
From version 17, PopupField is kept for backward compatibility. This function is replaced by ControlPopupOwner.
Identifies the control on which the popup menu was opened.
Caution: ControlPopupOwner should only be used in the processes of the popup menus and in the procedures they may call.
Versions 18 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 18
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// -- 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.
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment