PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
OpenPopupMenu (Function)
In french: OuvreMenuContextuel
Automatically opens a popup menu for the current control or window.
Example
// -- Click code of BTN_Action button
OpenPopupMenu(MenuDateChoice)
Syntax
OpenPopupMenu([<Name of popup menu> [, <X> , <Y >]])
<Name of popup menu>: Optional character string (with or without quotes)
Name of the popup menu that must be opened for the current control.
If this parameter is not specified, the default popup menu associated with the control is opened.
<X>: Integer (optional)
X coordinate of the opening position of the popup menu. This X coordinate is expressed in pixels, in relation to the top left corner of the window. If <X> and <Y> are not specified, the popup menu is opened at mouse position.
<Y >: Integer (optional)
Y coordinate of the opening position of the popup menu. This Y coordinate is specified in pixels, in relation to the top left corner of the window. If <X> and <Y> are not specified, the popup menu is opened at mouse position.
Remarks
  • This function must be run in the code associated with a control or window. This function should not be used in the code for resizing a window.
  • This function is a locking function until the popup menu is closed.
Component : wd250obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment